Skip to content

Commit 123910f

Browse files
theanarkhtargos
authored andcommitted
lib: remove the unused code
PR-URL: #53463 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent 568377f commit 123910f

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
@@ -586,7 +586,7 @@ function initializePermission() {
586586
ObjectFreeze(require('path'));
587587
process.emitWarning('Permission is an experimental feature',
588588
'ExperimentalWarning');
589-
const { has, deny } = require('internal/process/permission');
589+
const { has } = require('internal/process/permission');
590590
const warnFlags = [
591591
'--allow-addons',
592592
'--allow-child-process',
@@ -623,7 +623,6 @@ function initializePermission() {
623623
configurable: false,
624624
value: {
625625
has,
626-
deny,
627626
},
628627
});
629628
} else {

0 commit comments

Comments
 (0)