Skip to content

Commit 55922d9

Browse files
theanarkhmarco-ippolito
authored andcommitted
lib: remove the unused code
PR-URL: #53463 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Marco Ippolito <[email protected]>
1 parent 621e073 commit 55922d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/internal/process/pre_execution.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ function initializePermission() {
571571
ObjectFreeze(require('path'));
572572
process.emitWarning('Permission is an experimental feature',
573573
'ExperimentalWarning');
574-
const { has, deny } = require('internal/process/permission');
574+
const { has } = require('internal/process/permission');
575575
const warnFlags = [
576576
'--allow-addons',
577577
'--allow-child-process',
@@ -608,7 +608,6 @@ function initializePermission() {
608608
configurable: false,
609609
value: {
610610
has,
611-
deny,
612611
},
613612
});
614613
} else {

0 commit comments

Comments
 (0)