Skip to content

Commit 9b8dadb

Browse files
theanarkhbmeck
authored andcommitted
lib: remove the unused code
PR-URL: nodejs#53463 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Marco Ippolito <[email protected]>
1 parent b9f904b commit 9b8dadb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/internal/process/pre_execution.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ function initializePermission() {
540540
ObjectFreeze(require('path'));
541541
process.emitWarning('Permission is an experimental feature',
542542
'ExperimentalWarning');
543-
const { has, deny } = require('internal/process/permission');
543+
const { has } = require('internal/process/permission');
544544
const warnFlags = [
545545
'--allow-addons',
546546
'--allow-child-process',
@@ -577,7 +577,6 @@ function initializePermission() {
577577
configurable: false,
578578
value: {
579579
has,
580-
deny,
581580
},
582581
});
583582
} else {

0 commit comments

Comments
 (0)