Skip to content

Commit a001a19

Browse files
aegilopsCopilot
andauthored
Update src/componentSubmission.ts
Co-authored-by: Copilot <[email protected]>
1 parent 6c6c8b9 commit a001a19

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/componentSubmission.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,11 @@ export async function submitSnapshotIfPossible(opts: SubmitOpts): Promise<boolea
7777
return false;
7878
}
7979
await run(opts.octokit, tmp, opts.owner, opts.repo, sha, opts.branch, opts.componentDetectionBinPath);
80-
80+
return true;
8181
} catch (e) {
8282
if (!opts.quiet) console.error(chalk.red(`Component Detection failed: ${(e as Error).message}`));
8383
return false;
8484
}
85-
86-
return true;
8785
}
8886

8987
function buildSparsePatterns(langs: string[]): string[] {

0 commit comments

Comments
 (0)