mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
lib: remove the unused code
PR-URL: https://github.com/nodejs/node/pull/53463 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
parent
7430638df8
commit
f2381bc7cb
1 changed files with 1 additions and 2 deletions
|
@ -540,7 +540,7 @@ function initializePermission() {
|
||||||
ObjectFreeze(require('path'));
|
ObjectFreeze(require('path'));
|
||||||
process.emitWarning('Permission is an experimental feature',
|
process.emitWarning('Permission is an experimental feature',
|
||||||
'ExperimentalWarning');
|
'ExperimentalWarning');
|
||||||
const { has, deny } = require('internal/process/permission');
|
const { has } = require('internal/process/permission');
|
||||||
const warnFlags = [
|
const warnFlags = [
|
||||||
'--allow-addons',
|
'--allow-addons',
|
||||||
'--allow-child-process',
|
'--allow-child-process',
|
||||||
|
@ -577,7 +577,6 @@ function initializePermission() {
|
||||||
configurable: false,
|
configurable: false,
|
||||||
value: {
|
value: {
|
||||||
has,
|
has,
|
||||||
deny,
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue