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:
parent
65cafd2edf
commit
1502051453
3 changed files with 3 additions and 3 deletions
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
|
@ -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`
|
||||
|
|
2
Docs.md
2
Docs.md
|
@ -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:
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue