Browse Source

src: add missing new line to printed message

PR-URL: https://github.com/nodejs/node/pull/13940
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
v6
Timothy Gu 8 years ago
parent
commit
9330835754
No known key found for this signature in database GPG Key ID: 7FE6B095B582B0D4
  1. 2
      src/node.cc
  2. 2
      test/parallel/test-icu-data-dir.js

2
src/node.cc

@ -4372,7 +4372,7 @@ void Init(int* argc,
if (!i18n::InitializeICUDirectory(icu_data_dir)) {
fprintf(stderr,
"%s: could not initialize ICU "
"(check NODE_ICU_DATA or --icu-data-dir parameters)",
"(check NODE_ICU_DATA or --icu-data-dir parameters)\n",
argv[0]);
exit(9);
}

2
test/parallel/test-icu-data-dir.js

@ -9,7 +9,7 @@ const { spawnSync } = require('child_process');
const expected =
'could not initialize ICU ' +
'(check NODE_ICU_DATA or --icu-data-dir parameters)';
'(check NODE_ICU_DATA or --icu-data-dir parameters)\n';
{
const child = spawnSync(process.execPath, ['--icu-data-dir=/', '-e', '0']);

Loading…
Cancel
Save