Commit 55871cbb authored by Paul Merlin's avatar Paul Merlin
Browse files

Simplify build scan url extraction

parent e3d60b38
Loading
Loading
Loading
Loading
+1 −4
Changes for src/execution.ts: 1 added line, 4 removed lines.
Original line number Diff line number Diff line
@@ -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