GeezerVison is showing github.com — src: nuke deprecated and un-used enum members in `OptionEnvvarSettings` · nodejs/node@03dcd70
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/node.h -4Lines changed: 0 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -374,10 +374,6 @@ enum OptionEnvvarSettings { |
374 | 374 | // Disallow the options to be set via the environment variable, like |
375 | 375 | // `NODE_OPTIONS`. |
376 | 376 | kDisallowedInEnvvar = 1, |
377 | | - // Deprecated, use kAllowedInEnvvar instead. |
378 | | - kAllowedInEnvironment = kAllowedInEnvvar, |
379 | | - // Deprecated, use kDisallowedInEnvvar instead. |
380 | | - kDisallowedInEnvironment = kDisallowedInEnvvar, |
381 | 377 | }; |
382 | 378 |
|
383 | 379 | // Process the arguments and set up the per-process options. |
|
Collapse file
Copy file name to clipboardExpand all lines: typings/internalBinding/options.d.ts +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -17,8 +17,8 @@ export interface OptionsBinding { |
17 | 17 | aliases: Map<string, string[]>; |
18 | 18 | }; |
19 | 19 | envSettings: { |
20 | | - kAllowedInEnvironment: 0; |
21 | | - kDisallowedInEnvironment: 1; |
| 20 | + kAllowedInEnvvar: 0; |
| 21 | + kDisallowedInEnvvar: 1; |
22 | 22 | }; |
23 | 23 | noGlobalSearchPaths: boolean; |
24 | 24 | shouldNotRegisterESMLoader: boolean; |
|