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
Generated Vendored
+2 -3
View File
@@ -5034,9 +5034,8 @@ class FollowLogStreamService {
else if (message.toLowerCase().includes('cannot be found')) {
FollowLogStreamService.errors += `\n${message}`;
}
if (cloud_runner_1.default.buildParameters.cloudRunnerDebug) {
output += `${message}\n`;
}
// Always append log lines to output so tests can assert on BuildResults
output += `${message}\n`;
cloud_runner_logger_1.default.log(`[${cloud_runner_statics_1.CloudRunnerStatics.logPrefix}] ${message}`);
return { shouldReadLogs, shouldCleanup, output };
}
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long