Skip to content

Commit

Permalink
fix: wrong permission name used (#33984)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-gubert authored Nov 18, 2024
1 parent 6166555 commit 162d1d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class DenoRuntimeSubprocessController extends EventEmitter {

// If the app doesn't request any permissions, it gets the default set of permissions, which includes "networking"
// If the app requests specific permissions, we need to check whether it requests "networking" or not
if (!this.appPackage.info.permissions || this.appPackage.info.permissions.findIndex((p) => p.name === 'networking.default') !== -1) {
if (!this.appPackage.info.permissions || this.appPackage.info.permissions.findIndex((p) => p.name === 'networking') !== -1) {
options.splice(1, 0, '--allow-net');
}

Expand Down

0 comments on commit 162d1d2

Please sign in to comment.