Skip to content

Commit

Permalink
Fix type that fail on JSR check (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgr authored Dec 19, 2024
1 parent 7699940 commit 35ccb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/workers/denoRun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const buildPermissionsArgs = (
for (const [key, value] of Object.entries(perm)) {
if (value === "inherit") {
permCache[key] ??= Deno.permissions.querySync({
name: key as keyof Deno.PermissionOptionsObject,
name: key as Deno.PermissionDescriptor["name"],
}).state;
const access = permCache[key];
access === "granted" && args.push(`--allow-${key}`);
Expand Down

0 comments on commit 35ccb2d

Please sign in to comment.