fix: improve formatting (#1732)

This commit is contained in:
Yoshiya Hinosawa 2019-02-12 02:57:26 +09:00 committed by Ryan Dahl
parent 90c7af27d7
commit d26655371b
17 changed files with 55 additions and 30 deletions

View file

@ -18,8 +18,7 @@ def fmt_test(deno_exe):
# Set DENO_DIR to //js/ so we don't have to rely on an intenet
# connection to download https://deno.land/x/std/prettier/main.ts
deno_dir = os.path.join(root_path, "js")
run(
[deno_exe, dst, "--fmt", "--allow-read"],
run([deno_exe, dst, "--fmt", "--allow-read"],
merge_env={"DENO_DIR": deno_dir})
with open(fixed_filename) as f:
expected = f.read()