Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
lib: remove the unused code
  • Loading branch information
theanarkh committed Jun 15, 2024
commit ee7df1e3e68a08f8e15c7eddee48cd301baa2539
3 changes: 1 addition & 2 deletions lib/internal/process/pre_execution.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,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 @@ -563,7 +563,6 @@ function initializePermission() {
configurable: false,
value: {
has,
deny,
},
});
} else {
Expand Down