summaryrefslogtreecommitdiff
path: root/tools/test_format.py
diff options
context:
space:
mode:
authorDmitry Sharshakov <sh7dm@outlook.com>2019-02-08 23:59:38 +0300
committerRyan Dahl <ry@tinyclouds.org>2019-02-08 15:59:38 -0500
commit9ab03389f047e5520c184b9fce4cd5fb2e4804bd (patch)
treec1b3295aa6788595e4b73d28aeba0b8fdc8f3205 /tools/test_format.py
parent3abaf9edb6877c328402b94fa0bcb6a9e0bbe86d (diff)
Add --allow-read (#1689)
Co-authored-by: Greg Altman <g.s.altman@gmail.com>
Diffstat (limited to 'tools/test_format.py')
-rwxr-xr-xtools/test_format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test_format.py b/tools/test_format.py
index 69c050501..2e26f2199 100755
--- a/tools/test_format.py
+++ b/tools/test_format.py
@@ -30,7 +30,7 @@ def main():
print "No available deno executable."
sys.exit(1)
- util.run([deno_path, "--allow-run", "tools/format.ts"])
+ util.run([deno_path, "--allow-read", "--allow-run", "tools/format.ts"])
output = util.run_output(
["git", "status", "-uno", "--porcelain", "--ignore-submodules"])
if len(output) > 0: