Skip to content

Commit

Permalink
[dev-tool] Fix relative import of prettier options. (Azure#14560)
Browse files Browse the repository at this point in the history
  • Loading branch information
witemple-msft authored and vindicatesociety committed Apr 26, 2021
1 parent 2262fc5 commit 1b535b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/tools/dev-tool/src/commands/samples/tsToJs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ export const commandInfo = makeCommandInfo(
"ts-to-js",
"convert a TypeScript sample to a JavaScript equivalent using our conventions for samples"
);

const prettierOptions: prettier.Options = {
...(require("../eslint-plugin-azure-sdk/prettier.json") as prettier.Options),
...(require("../../../../eslint-plugin-azure-sdk/prettier.json") as prettier.Options),
parser: "typescript"
};

Expand Down

0 comments on commit 1b535b5

Please sign in to comment.