Skip to content

Commit

Permalink
fix(core):add missing parameter to prettier getFileInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan CALVI committed Mar 29, 2022
1 parent 70492f3 commit 0ee76ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devkit/src/generators/format-files.ts
Expand Up @@ -47,7 +47,7 @@ export async function formatFiles(tree: Tree): Promise<void> {
...resolvedOptions,
};

const support = await prettier.getFileInfo(systemPath);
const support = await prettier.getFileInfo(systemPath, options);
if (support.ignored || !support.inferredParser) {
return;
}
Expand Down

0 comments on commit 0ee76ab

Please sign in to comment.