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

deno fmt broken after upgrade to v0.6.0 #2382

Closed
MarkTiedemann opened this issue May 21, 2019 · 1 comment
Closed

deno fmt broken after upgrade to v0.6.0 #2382

MarkTiedemann opened this issue May 21, 2019 · 1 comment

Comments

@MarkTiedemann
Copy link
Contributor

❯ make
deno fmt ./src/*.ts ./src/**/*.ts
[0/1] Compiling https://deno.land/std/prettier/main.ts/Users/marktiedemann/Library/Caches/deno/deps/https/deno.land/std/prettier/main.ts:183:38 - error TS2339: Property 'path' does not exist on type 'FileInfo'.

183     const parser = selectParser(file.path);
                                         ~~~~
/Users/marktiedemann/Library/Caches/deno/deps/https/deno.land/std/prettier/main.ts:185:34 - error TS2339: Property 'path' does not exist on type 'FileInfo'.

185       checks.push(checkFile(file.path, parser, prettierOpts));
                                     ~~~~
/Users/marktiedemann/Library/Caches/deno/deps/https/deno.land/std/prettier/main.ts:211:38 - error TS2339: Property 'path' does not exist on type 'FileInfo'.

211     const parser = selectParser(file.path);
                                         ~~~~
/Users/marktiedemann/Library/Caches/deno/deps/https/deno.land/std/prettier/main.ts:213:36 - error TS2339: Property 'path' does not exist on type 'FileInfo'.

213       formats.push(formatFile(file.path, parser, prettierOpts));
                                       ~~~~

make: *** [Makefile:10: format] Error 1
@MarkTiedemann
Copy link
Contributor Author

Fixed after running the same command with --reload. (Never had to do that before after an upgrade.)

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