We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59336d4 commit 418acc8Copy full SHA for 418acc8
packages/@apphosting/adapter-angular/src/utils.ts
@@ -175,7 +175,10 @@ function extractManifestOutput(output: string): string {
175
if (start === -1 || end === -1 || start > end) {
176
throw new Error(`Failed to find valid JSON object from build output: ${output}`);
177
}
178
- return stripAnsi(output.substring(start, end + 1));
+ // Clean the raw json string by removing the "web:build:" prefixes for a Turbo build
179
+ const prefixRegex = /\n?web:build:/g;
180
+ const cleanedOutput = output.substring(start, end + 1).replace(prefixRegex, '');
181
+ return stripAnsi(cleanedOutput);
182
183
184
/**
0 commit comments