Skip to content

Commit 0111149

Browse files
committed
fixup! test(@angular/build): add library builder scaling benchmark suite
1 parent 136c57a commit 0111149

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎scripts/benchmark.mts‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ function checkBuildStatus(logger: Console): boolean {
4040
return true;
4141
}
4242

43-
function parseIntList(raw: string | undefined): number[] | undefined {
44-
return raw?.split(',').map((s) => Number(s.trim()));
43+
function parseIntList(raw: string | number | undefined): number[] | undefined {
44+
if (raw === undefined) {
45+
return undefined;
46+
}
47+
return String(raw).split(',').map((s) => Number(s.trim()));
4548
}
4649

4750
async function runLibraryBuilderSubsystem(options: {

0 commit comments

Comments
 (0)