Skip to content

Commit

Permalink
lib: remove the unused code
Browse files Browse the repository at this point in the history
PR-URL: #53463
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
  • Loading branch information
theanarkh authored Jun 17, 2024
1 parent 7430638 commit f2381bc
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 f2381bc

Please sign in to comment.