diff options
-rw-r--r-- | .github/CONTRIBUTING.md | 2 | ||||
-rw-r--r-- | Docs.md | 2 | ||||
-rwxr-xr-x | tools/format.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 8538a7897..0fdba492c 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -19,7 +19,7 @@ Before submitting, please make sure the following is done: 1. There are tests that cover the changes. 2. Ensure `./tools/test.py` passes. -3. Format your code with `deno ./tools/format.ts --allow-run`. +3. Format your code with `deno ./tools/format.ts --allow-read --allow-run`. 4. Make sure `./tools/lint.py` passes. ## Changes to `third_party` @@ -116,7 +116,7 @@ Extra steps for Windows users: ./tools/test.py # Format code. - deno ./tools/format.ts + deno ./tools/format.ts --allow-read --allow-run Other useful commands: diff --git a/tools/format.ts b/tools/format.ts index e5e0b4bf6..d6cfc8ec4 100755 --- a/tools/format.ts +++ b/tools/format.ts @@ -1,4 +1,4 @@ -#!/usr/bin/env deno --allow-run +#!/usr/bin/env deno --allow-read --allow-run // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as deno from "deno"; import { join } from "../js/deps/https/deno.land/x/std/fs/path.ts"; |