Skip to content

Commit

Permalink
fix: wrong error name
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Mar 1, 2022
1 parent d098e64 commit 1b3bbbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flags/orgFlags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const getHubOrThrow = async (aliasOrUsername?: string): Promise<Org> => {
const config = await ConfigAggregator.create();
aliasOrUsername = config.getInfo('defaultdevhubusername')?.value as string;
if (!aliasOrUsername) {
throw messages.createError('errors.NoDefaultHub', [aliasOrUsername]);
throw messages.createError('errors.NoDefaultDevHub', [aliasOrUsername]);
}
}
const org = await Org.create({ aliasOrUsername });
Expand Down

0 comments on commit 1b3bbbe

Please sign in to comment.