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