Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
merlynomsft committed Oct 25, 2024
1 parent 351018c commit 360f224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ CLI.test = async function(/** @type {{ suite: string; node: string; task: string
} catch (e) {
console.error(e);
//process.exit(1);
results.push({ taskName: taskName, result: `NodeVersion: ${nodeVersion} Error: ${error.message}` });
results.push({ taskName: taskName, result: `NodeVersion: ${nodeVersion} Error: ${e}` });
}
}
}
Expand Down Expand Up @@ -705,7 +705,7 @@ CLI.test = async function(/** @type {{ suite: string; node: string; task: string
var hasErrors = false;
results.forEach(({ task, result }) => {
hasErrors = true;
console.log(`Task: ${task.name}, Result: ${result}`);
console.log(`Task: ${task}, Result: ${result}`);
});

if (hasErrors) {
Expand Down

0 comments on commit 360f224

Please sign in to comment.