Skip to content

Commit

Permalink
fix nightwatchjs#4018 timestamp is not logged against nightwatch mess…
Browse files Browse the repository at this point in the history
…ages
  • Loading branch information
SohaibMagrabi committed Mar 26, 2024
1 parent b08981d commit 7db5361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils/logger/index.js
Expand Up @@ -329,9 +329,9 @@ class Logger {
if (!LogSettings.outputEnabled || !LogSettings.detailedOutput) {
return;
}

const timeStamp = logTimestamp();
// eslint-disable-next-line no-console
console[type](message);
console[type](timeStamp, message);
}

getFailedAssertions(assertions, modulepath) {
Expand Down

0 comments on commit 7db5361

Please sign in to comment.