Skip to content

Commit

Permalink
fix: add trailing stop
Browse files Browse the repository at this point in the history
  • Loading branch information
jakecastelli committed Feb 16, 2023
1 parent 876a05d commit bf96237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class Timeout {
'\nTimeout duration was set to 1.',
'TimeoutOverflowWarning');
} else if (after < 0) {
process.emitWarning(`${after} is a negative number` +
process.emitWarning(`${after} is a negative number.` +
'\nTimeout duration was set to 1.');
}
after = 1; // Schedule on next tick, follows browser behavior
Expand Down

0 comments on commit bf96237

Please sign in to comment.