diff --git a/lib/internal/process/pre_execution.js b/lib/internal/process/pre_execution.js index 1328d482433a68..8fad2fe617e4f8 100644 --- a/lib/internal/process/pre_execution.js +++ b/lib/internal/process/pre_execution.js @@ -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', @@ -608,7 +608,6 @@ function initializePermission() { configurable: false, value: { has, - deny, }, }); } else {