Skip to content

Commit

Permalink
👌 IMPROVE: Console message
Browse files Browse the repository at this point in the history
  • Loading branch information
ortoniKC committed Oct 19, 2024
1 parent 4be1d6f commit ad8b839
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/helpers/serverManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export class ServerManager {
const hasFailures = overAllStatus === "failed";
if (openOption === "always" || (openOption === "on-failure" && hasFailures)) {
startReportServer(folderPath, outputFilename, this.ortoniConfig.port, openOption);
console.log('OrtoniReport: Server is running. Press Ctrl+C to stop.');
}
}
}
2 changes: 1 addition & 1 deletion src/utils/expressServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function startReportServer(

try {
const server = app.listen(port, () => {
console.log(`Server is running at http://localhost:${port}`);
console.log(`Server is running at http://localhost:${port} \nPress Ctrl+C to stop.`);

if (open === "always" || open === "on-failure") {
try {
Expand Down

0 comments on commit ad8b839

Please sign in to comment.