Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

//prettier/main.ts doesn't work with absolute paths. #330

Closed
kt3k opened this issue Apr 9, 2019 · 1 comment
Closed

//prettier/main.ts doesn't work with absolute paths. #330

kt3k opened this issue Apr 9, 2019 · 1 comment

Comments

@kt3k
Copy link
Member

kt3k commented Apr 9, 2019

If I have a.js, and it's not formatted, then the following works:

deno -A prettier/main.ts a.js

But the following doesn't:

deno -A prettier/main.ts `pwd`/a.js
@kt3k
Copy link
Member Author

kt3k commented Jun 20, 2019

Now this seems fixed (probably fixed in #438)

MacBook-Pro-3:deno_std kt3k$ deno -A prettier/main.ts a.js
console.log(1);
MacBook-Pro-3:deno_std kt3k$ deno -A prettier/main.ts `pwd`/a.js
console.log(1);

@kt3k kt3k closed this as completed Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant