Skip to content

Commit

Permalink
fix: add suggestion to 'cannot use... autogenerated' msg (mozilla#3309)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcomella committed Nov 22, 2024
1 parent cde10a8 commit baf9206
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/cmd/sign.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,18 @@ export default function sign(
if (idFromSourceDir && !id) {
throw new UsageError(
'Cannot use previously auto-generated extension ID ' +
`${idFromSourceDir} - This extension ID must be specified in the manifest.json file.`,
`${idFromSourceDir} - This extension ID must be specified in the manifest.json file. For example:
// manifest.json
{
"browser_specific_settings": {
"gecko": {
"id": "${idFromSourceDir}"
}
},
...
}`,
);
}

Expand Down

0 comments on commit baf9206

Please sign in to comment.