Skip to content

Commit 1a03a03

Browse files
theanarkheliphazbouye
authored andcommitted
lib: remove the unused code
PR-URL: nodejs#53463 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent 208df39 commit 1a03a03

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
@@ -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)