Skip to content

Commit

Permalink
Merge pull request #8258 from ember-cli/tweak-error-message
Browse files Browse the repository at this point in the history
Tweak Error Message
  • Loading branch information
locks authored Mar 26, 2020
2 parents feabe73 + d8ee29e commit 350a92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/models/addon.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ let addonProto = {
let pathToDisplay = process.cwd() === this.root ? process.cwd() : path.relative(process.cwd(), this.root);

throw new SilentError(
'Your names in package.json and index.js should match. ' +
'ember-cli: Your names in package.json and index.js should match. ' +
`The addon in ${pathToDisplay} currently have '${parentName}' in package.json and '${this.name}' in index.js. ` +
'Until ember-cli v3.9, this error can be disabled by setting env variable EMBER_CLI_IGNORE_ADDON_NAME_MISMATCH to "true". ' +
'For more information about this workaround, see: https://github.com/ember-cli/ember-cli/pull/7950.'
Expand Down

0 comments on commit 350a92b

Please sign in to comment.