Skip to content

Commit

Permalink
src: add missing punctuation to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Nov 11, 2022
1 parent 916af4e commit bb91037
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/node_process_events.cc
Expand Up @@ -93,7 +93,7 @@ Maybe<bool> ProcessEmitExperimentalWarning(Environment* env,
experimental_warnings.insert(warning);
std::string message(warning);
message.append(
" is an experimental feature. This feature could change at any time");
" is an experimental feature. This feature could change at any time.");
return ProcessEmitWarningGeneric(env, message.c_str(), "ExperimentalWarning");
}

Expand Down
2 changes: 1 addition & 1 deletion test/common/measure-memory.js
Expand Up @@ -45,7 +45,7 @@ function assertSingleDetailedShape(result) {
function expectExperimentalWarning() {
common.expectWarning('ExperimentalWarning',
'vm.measureMemory is an experimental feature. ' +
'This feature could change at any time');
'This feature could change at any time.');
}

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-vfs.js
Expand Up @@ -34,7 +34,7 @@ throws(() => require(vfsFile), { code: 'MODULE_NOT_FOUND' });

common.expectWarning(
'ExperimentalWarning',
'Module._stat is an experimental feature. This feature could change at any time');
'Module._stat is an experimental feature. This feature could change at any time.');

process.on('warning', common.mustCall());

Expand Down

0 comments on commit bb91037

Please sign in to comment.