We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16f269c commit ff4195fCopy full SHA for ff4195f
1 file changed
src/commands/profile/view.ts
@@ -179,9 +179,13 @@ export const viewCommand = buildCommand({
179
target = await resolveOrgAndProject({ cwd, usageHint: USAGE_HINT });
180
break;
181
182
- default:
183
- // Exhaustive check - should never reach here
184
- throw new ContextError("Invalid target specification", USAGE_HINT);
+ default: {
+ const _exhaustiveCheck: never = parsed;
+ throw new ContextError(
185
+ `Unexpected target type: ${_exhaustiveCheck}`,
186
+ USAGE_HINT
187
+ );
188
+ }
189
}
190
191
if (!target) {
0 commit comments