Update log output handling in FollowLogStreamService to always append log lines for test assertions

This commit is contained in:
Frostebite
2025-09-03 18:32:27 +01:00
parent 0650d1de5c
commit eb8b92cda1
3 changed files with 6 additions and 7 deletions

View File

@@ -47,9 +47,9 @@ export class FollowLogStreamService {
} else if (message.toLowerCase().includes('cannot be found')) {
FollowLogStreamService.errors += `\n${message}`;
}
if (CloudRunner.buildParameters.cloudRunnerDebug) {
output += `${message}\n`;
}
// Always append log lines to output so tests can assert on BuildResults
output += `${message}\n`;
CloudRunnerLogger.log(`[${CloudRunnerStatics.logPrefix}] ${message}`);
return { shouldReadLogs, shouldCleanup, output };