Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add read permission for format.ts #1726

Merged
merged 2 commits into from
Feb 9, 2019
Merged

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Feb 9, 2019

Now --allow-read is necessary to run format.ts.

@hayd
Copy link
Contributor

hayd commented Feb 9, 2019

Isn't it read and write?

@kt3k
Copy link
Member Author

kt3k commented Feb 9, 2019

@hayd subprocesses seem writing to files and format.ts itself doesn't need that permission. Read permission is required for getting a list of files.

@@ -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`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in Docs.md too

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ry ry merged commit 1502051 into denoland:master Feb 9, 2019
@kt3k kt3k deleted the feature/update-format branch February 9, 2019 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants