Skip to content

Commit 6fcdfd7

Browse files
committed
fix: improve error message for unresolved numeric project IDs
1 parent 58510d4 commit 6fcdfd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/resolve-target.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ export async function resolveProjectBySlug(
795795
if (found.length === 0) {
796796
throw new ContextError(`Project "${projectSlug}"`, usageHint, [
797797
isAllDigits(projectSlug)
798-
? "Numeric project IDs are not supported — use the project slug instead"
798+
? "No project with this ID was found — check the ID or use the project slug instead"
799799
: "Check that you have access to a project with this slug",
800800
]);
801801
}

0 commit comments

Comments
 (0)