Skip to content

Commit

Permalink
Remove colon
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Jan 12, 2025
1 parent 466c105 commit d0a6372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/option.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ function splitOptionFlags(flags) {
// Check for unprocessed flag. Fail noisily rather than silently ignore.
if (flagParts[0].startsWith('-')) {
const unsupportedFlag = flagParts[0];
const baseError = `option creation failed due to '${unsupportedFlag}' in option flags '${flags}':`;
const baseError = `option creation failed due to '${unsupportedFlag}' in option flags '${flags}'`;
if (/^-[^-][^-]/.test(unsupportedFlag))
throw new Error(
`${baseError}
Expand Down

0 comments on commit d0a6372

Please sign in to comment.