From b16e6220a2483098b1d2d4564d3d09f08756fae3 Mon Sep 17 00:00:00 2001 From: restlessronin <88921269+restlessronin@users.noreply.github.com> Date: Wed, 7 Feb 2024 12:08:40 +0530 Subject: fix: enable "--allow-sys=cpus" for "deno run" (#22260) Fixes #22221 with the suggested fix, and added "cpus" to the existing tests. --- cli/tsc/dts/lib.deno.ns.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/tsc/dts') 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 -- cgit v1.2.3