Skip to content

Commit

Permalink
lib: remove the unused code
Browse files Browse the repository at this point in the history
PR-URL: #53463
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
  • Loading branch information
theanarkh authored and targos committed Jun 20, 2024
1 parent 568377f commit 123910f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/internal/process/pre_execution.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ function initializePermission() {
ObjectFreeze(require('path'));
process.emitWarning('Permission is an experimental feature',
'ExperimentalWarning');
const { has, deny } = require('internal/process/permission');
const { has } = require('internal/process/permission');
const warnFlags = [
'--allow-addons',
'--allow-child-process',
Expand Down Expand Up @@ -623,7 +623,6 @@ function initializePermission() {
configurable: false,
value: {
has,
deny,
},
});
} else {
Expand Down

0 comments on commit 123910f

Please sign in to comment.