Skip to content

Commit

Permalink
Merge pull request #503 from HubSpot/hotfix/502-global-partial-command
Browse files Browse the repository at this point in the history
resolves #502 by providing better error messaging.
  • Loading branch information
TheWebTech authored May 17, 2021
2 parents f9e6c3a + 0761a47 commit 0b1b183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/commands/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ exports.handler = async options => {

if (assetType === 'global-partial') {
logger.error(
`The asset type ${assetType} has been deprecated. Please choose the "template" asset and select "global partial".`
`The CLI command for asset type ${assetType} has been deprecated in an effort to make it easier to know what asset types can be created. Run the "hs create template" command instead. Then when prompted select "global partial".`
);
return;
}
Expand Down

0 comments on commit 0b1b183

Please sign in to comment.