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

fix: enable "--allow-sys=cpus" for "deno run" #22260

Merged
merged 5 commits into from Feb 7, 2024

Conversation

restlessronin
Copy link
Contributor

@restlessronin restlessronin commented Feb 4, 2024

Fixes #22221 with the suggested fix, and added "cpus" to the existing tests.

@CLAassistant
Copy link

CLAassistant commented Feb 4, 2024

CLA assistant check
All committers have signed the CLA.

@restlessronin restlessronin changed the title -fix Enable "--allow-sys=cpus" for "deno run" - fix Enable "--allow-sys=cpus" for "deno run" Feb 5, 2024
@restlessronin
Copy link
Contributor Author

I had "-fix" in the PR title instead of "- fix". Will be more careful next time. The actual code seems fine.

@littledivy littledivy changed the title - fix Enable "--allow-sys=cpus" for "deno run" fix: enable "--allow-sys=cpus" for "deno run" Feb 5, 2024
@restlessronin
Copy link
Contributor Author

Is anything else necessary to merge this fix? Is there a formal procedure to ask for a review?

Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@littledivy littledivy enabled auto-merge (squash) February 7, 2024 06:16
@littledivy littledivy merged commit b16e622 into denoland:main Feb 7, 2024
15 checks passed
@restlessronin restlessronin deleted the issue-22221/cpu-allow branch February 7, 2024 06:39
littledivy pushed a commit that referenced this pull request Feb 8, 2024
Fixes #22221 with the suggested fix, and added "cpus" to the existing
tests.
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.

Deno no longer allows permission to os.cpus with --allow-sys=osRelease after 1.39.2
3 participants