| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7f11c72 commit a6b9299
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -645,7 +645,12 @@ PerProcessOptionsParser::PerProcessOptionsParser( | |||
| 645 | 645 | &PerProcessOptions::debug_arraybuffer_allocations, | |
| 646 | 646 | kAllowedInEnvironment); | |
| 647 | 647 | ||
| 648 | - AddOption("--security-reverts", "", &PerProcessOptions::security_reverts); | ||
| 648 | + | ||
| 649 | + // 12.x renamed this inadvertently, so alias it for consistency within the | ||
| 650 | + // release line, while using the original name for consistency with older | ||
| 651 | + // release lines. | ||
| 652 | + AddOption("--security-revert", "", &PerProcessOptions::security_reverts); | ||
| 653 | + AddAlias("--security-reverts", "--security-revert"); | ||
| 649 | 654 | AddOption("--completion-bash", | |
| 650 | 655 | "print source-able bash completion script", | |
| 651 | 656 | &PerProcessOptions::print_bash_completion); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ const { spawnSync } = require('child_process'); | |||
| 5 | 5 | const os = require('os'); | |
| 6 | 6 | ||
| 7 | 7 | const { signal, status, output } = | |
| 8 | - spawnSync(process.execPath, ['--security-reverts=not-a-cve']); | ||
| 8 | + spawnSync(process.execPath, ['--security-revert=not-a-cve']); | ||
| 9 | 9 | assert.strictEqual(signal, null); | |
| 10 | 10 | assert.strictEqual(status, 12); | |
| 11 | 11 | assert.strictEqual( | |
| Back | FazBrowse Home | New Git URL |
0 commit comments