Skip to content
Permalink
Browse files

upgrade deno_std & add workaround prettier issue (denoland#2087)

  • Loading branch information...
kt3k authored and ry committed Apr 9, 2019
1 parent d2579f4 commit 5a3f3a744559ef60a2367aaf0ded704713909112
Showing with 7 additions and 2 deletions.
  1. +1 −1 js/deps/https/deno.land/std
  2. +6 −1 tools/fmt_test.py
Submodule std updated 116 files
@@ -19,7 +19,12 @@ 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, "fmt", dst], merge_env={"DENO_DIR": deno_dir})
# TODO(kt3k) The below line should be run([deno_exe, "fmt", dst], ...)
# It should be updated when the below issue is addressed
# https://github.com/denoland/deno_std/issues/330
run([os.path.join(root_path, deno_exe), "fmt", "badly_formatted.js"],
cwd=d,
merge_env={"DENO_DIR": deno_dir})
with open(fixed_filename) as f:
expected = f.read()
with open(dst) as f:

0 comments on commit 5a3f3a7

Please sign in to comment.
You can’t perform that action at this time.