diff --git a/src/execution.ts b/src/execution.ts index 351d391..e6570a1 100644 --- a/src/execution.ts +++ b/src/execution.ts @@ -18,12 +18,9 @@ export async function execute( ignoreReturnCode: true, listeners: { stdline: (line: string) => { - if (line.startsWith('Publishing build scan...')) { + if (line.includes('Publishing build scan...')) { publishing = true } - if (publishing && line.length === 0) { - publishing = false - } if (publishing && line.startsWith('http')) { buildScanUrl = line.trim() publishing = false