diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-04-19 23:12:28 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-04-22 19:09:52 +0800 |
commit | 94adfe983194ce986774383d1b6832812f3446c7 (patch) | |
tree | 7c71e651cfbfb26fac47818cc1a9c4a595d38ab4 /test/report/test-report-fatal-error.js | |
parent | 19e3e02a2db996a3df36e00df6c6b57cec516c9e (diff) | |
download | android-node-v8-94adfe983194ce986774383d1b6832812f3446c7.tar.gz android-node-v8-94adfe983194ce986774383d1b6832812f3446c7.tar.bz2 android-node-v8-94adfe983194ce986774383d1b6832812f3446c7.zip |
lib: replace --diagnostic-report-* with --report-*
In the code base the word `report` is almost only used to refer to
the diagnostic report when it's a noun, and it's programmable
interface `process.report()` it not prefixed, so `report` should be
unambiguous enough to use without `diagnostic`.
PR-URL: https://github.com/nodejs/node/pull/27312
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/report/test-report-fatal-error.js')
-rw-r--r-- | test/report/test-report-fatal-error.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/report/test-report-fatal-error.js b/test/report/test-report-fatal-error.js index b6cf792725..8ecd058cf8 100644 --- a/test/report/test-report-fatal-error.js +++ b/test/report/test-report-fatal-error.js @@ -23,7 +23,7 @@ if (process.argv[2] === 'child') { tmpdir.refresh(); const spawn = require('child_process').spawn; const args = ['--experimental-report', - '--diagnostic-report-on-fatalerror', + '--report-on-fatalerror', '--max-old-space-size=20', __filename, 'child']; |