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 and marco-ippolito committed Jul 19, 2024
1 parent 621e073 commit 55922d9
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 @@ -571,7 +571,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 @@ -608,7 +608,6 @@ function initializePermission() {
configurable: false,
value: {
has,
deny,
},
});
} else {
Expand Down

0 comments on commit 55922d9

Please sign in to comment.