From 8278540c60c8ef43d3a8561834d3ae73b716b853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Sat, 28 Mar 2026 18:27:53 +0100 Subject: [PATCH] Fix pLimit type and remove trailing comma in error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Fredrik Adelöw --- .../src/commands/api-reports/cli-reports/runCliExtraction.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/repo-tools/src/commands/api-reports/cli-reports/runCliExtraction.ts b/packages/repo-tools/src/commands/api-reports/cli-reports/runCliExtraction.ts index 23cbdbdc68..156e808ef0 100644 --- a/packages/repo-tools/src/commands/api-reports/cli-reports/runCliExtraction.ts +++ b/packages/repo-tools/src/commands/api-reports/cli-reports/runCliExtraction.ts @@ -94,7 +94,7 @@ function parseHelpPage(helpPageContent: string) { async function exploreCliHelpPages( run: (...args: string[]) => Promise, - limit: pLimit.Limit, + limit: ReturnType, ): Promise { const helpPages = new Array(); @@ -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}`); } } }