diff options
author | restlessronin <88921269+restlessronin@users.noreply.github.com> | 2024-02-07 12:08:40 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 06:38:40 +0000 |
commit | b16e6220a2483098b1d2d4564d3d09f08756fae3 (patch) | |
tree | 8f1d39462703b5c94ac1ab437f21025df6d9e937 /cli/tsc | |
parent | 6c15dc3f061b1d3a5b014fdbf79686ce60c605d4 (diff) |
fix: enable "--allow-sys=cpus" for "deno run" (#22260)
Fixes #22221 with the suggested fix, and added "cpus" to the existing
tests.
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 8401d2302..f855a0c0e 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -4936,7 +4936,8 @@ declare namespace Deno { | "osRelease" | "osUptime" | "uid" - | "gid"; + | "gid" + | "cpus"; } /** The permission descriptor for the `allow-ffi` and `deny-ffi` permissions, which controls |