summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deno2/js/main.ts5
-rwxr-xr-xdeno2/tools/format.sh1
2 files changed, 3 insertions, 3 deletions
diff --git a/deno2/js/main.ts b/deno2/js/main.ts
index a41a7dfee..b34ecf24d 100644
--- a/deno2/js/main.ts
+++ b/deno2/js/main.ts
@@ -1,7 +1,6 @@
const globalEval = eval;
const window = globalEval("this");
-window['foo'] = () => {
+window["foo"] = () => {
deno_print("Hello world from foo");
return "foo";
-}
-
+};
diff --git a/deno2/tools/format.sh b/deno2/tools/format.sh
index 25c9f4a89..a5c324175 100755
--- a/deno2/tools/format.sh
+++ b/deno2/tools/format.sh
@@ -4,3 +4,4 @@ clang-format -i -style Google *.cc *.h include/*.h
gn format BUILD.gn
gn format .gn
yapf -i tools/*.py
+prettier --write js/*.ts js/*.js