Skip to content

Commit dff506c

Browse files
TimothyGuaddaleax
authored andcommitted
src: add missing new line to printed message
PR-URL: #13940 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]>
1 parent 98cb59e commit dff506c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/node.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4372,7 +4372,7 @@ void Init(int* argc,
43724372
if (!i18n::InitializeICUDirectory(icu_data_dir)) {
43734373
fprintf(stderr,
43744374
"%s: could not initialize ICU "
4375-
"(check NODE_ICU_DATA or --icu-data-dir parameters)",
4375+
"(check NODE_ICU_DATA or --icu-data-dir parameters)\n",
43764376
argv[0]);
43774377
exit(9);
43784378
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { spawnSync } = require('child_process');
99

1010
const expected =
1111
'could not initialize ICU ' +
12-
'(check NODE_ICU_DATA or --icu-data-dir parameters)';
12+
'(check NODE_ICU_DATA or --icu-data-dir parameters)\n';
1313

1414
{
1515
const child = spawnSync(process.execPath, ['--icu-data-dir=/', '-e', '0']);

0 commit comments

Comments
 (0)