Skip to content

Commit

Permalink
lib: remove the unused code
Browse files Browse the repository at this point in the history
PR-URL: nodejs#53463
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
  • Loading branch information
theanarkh authored and sophonieb committed Jun 20, 2024
1 parent 208df39 commit 1a03a03
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 @@ -540,7 +540,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 @@ -577,7 +577,6 @@ function initializePermission() {
configurable: false,
value: {
has,
deny,
},
});
} else {
Expand Down

0 comments on commit 1a03a03

Please sign in to comment.