diff --git a/src/flags/orgFlags.ts b/src/flags/orgFlags.ts index 2a66ca5ad..084928275 100644 --- a/src/flags/orgFlags.ts +++ b/src/flags/orgFlags.ts @@ -25,7 +25,7 @@ const getHubOrThrow = async (aliasOrUsername?: string): Promise => { 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 });