Fix pLimit type and remove trailing comma in error message

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
This commit is contained in:
Fredrik Adelöw
2026-03-28 18:27:53 +01:00
parent 8e9679b3eb
commit 8278540c60
@@ -94,7 +94,7 @@ function parseHelpPage(helpPageContent: string) {
async function exploreCliHelpPages(
run: (...args: string[]) => Promise<string>,
limit: pLimit.Limit,
limit: ReturnType<typeof pLimit>,
): Promise<CliHelpPage[]> {
const helpPages = new Array<CliHelpPage>();
@@ -198,7 +198,7 @@ export async function runCliExtraction({
logApiReportInstructions();
}
throw new Error(`CLI report changed for ${packageDir}, `);
throw new Error(`CLI report changed for ${packageDir}`);
}
}
}