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

feat(prettier): output to stdout instead of write file by default unless specified --write flag #332

Merged
merged 14 commits into from
May 21, 2019
Prev Previous commit
Next Next commit
Merge branch 'master' into prettier_print
  • Loading branch information
axetroy committed Apr 15, 2019
commit b7612bcd6e7d4ec788b253f1aa63ad23747d653e
2 changes: 1 addition & 1 deletion prettier/main_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ test(async function testPrettierOptions() {
const file2 = join(testdata, "opts", "2.ts");
const file3 = join(testdata, "opts", "3.md");

const getSourceCode = async (f: string) =>
const getSourceCode = async (f: string): Promise<string> =>
decoder.decode(await Deno.readFile(f));

await run([...cmd, "--no-semi", "--write", file0]);
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.