diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2019-04-07 00:13:06 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-04-07 01:13:06 +0300 |
commit | 780e72ab6a092a6a7174c30bf4163857770d2ad0 (patch) | |
tree | 035bf5426c6c50f3cec4790700a29563c45db8b8 /tools/fmt_test.py | |
parent | cb11bbd8396fc3f6607481d50a4c82db0bfeffb7 (diff) |
Refactor CLI flag parsing (#2025)
Diffstat (limited to 'tools/fmt_test.py')
-rwxr-xr-x | tools/fmt_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fmt_test.py b/tools/fmt_test.py index dd704485d..85b475015 100755 --- a/tools/fmt_test.py +++ b/tools/fmt_test.py @@ -19,7 +19,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/std/prettier/main.ts deno_dir = os.path.join(root_path, "js") - run([deno_exe, dst, "--fmt"], merge_env={"DENO_DIR": deno_dir}) + run([deno_exe, "fmt", dst], merge_env={"DENO_DIR": deno_dir}) with open(fixed_filename) as f: expected = f.read() with open(dst) as f: |