1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

Add read permission for format.ts (#1726)

This commit is contained in:
Yoshiya Hinosawa 2019-02-10 00:55:18 +09:00 committed by Ryan Dahl
parent 65cafd2edf
commit 1502051453
3 changed files with 3 additions and 3 deletions

View file

@ -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`

View file

@ -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:

View file

@ -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";