mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
fix: improve formatting (#1732)
This commit is contained in:
parent
90c7af27d7
commit
d26655371b
17 changed files with 55 additions and 30 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue