Skip to content

Commit

Permalink
Update packages/babel-parser/src/parser/error-message.js
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Ng <bng412@gmail.com>
  • Loading branch information
2 people authored and nicolo-ribaudo committed Oct 14, 2020
1 parent 5481109 commit d6d46af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-parser/src/parser/error-message.js
Expand Up @@ -100,7 +100,7 @@ export const ErrorMessages = Object.freeze({
ModuleAttributesWithDuplicateKeys:
'Duplicate key "%0" is not allowed in module attributes',
ModuleExportNameHasLoneSurrogate:
"Export name can not include lone surrogate, but '\\u%0' is seen",
"An export name cannot include a lone surrogate, found '\\u%0'",
ModuleExportUndefined: "Export '%0' is not defined",
MultipleDefaultsInSwitch: "Multiple default clauses",
NewlineAfterThrow: "Illegal newline after throw",
Expand Down

0 comments on commit d6d46af

Please sign in to comment.