From f5963e23d7584caf05b8eb3f4d09e5fba633cf9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Tue, 21 Jun 2022 11:03:41 -0400 Subject: [PATCH] Update packages/babel-parser/src/parse-error/standard-errors.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Nicolò Ribaudo --- packages/babel-parser/src/parse-error/standard-errors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-parser/src/parse-error/standard-errors.js b/packages/babel-parser/src/parse-error/standard-errors.js index 396c4d809e40..3f9747ce1d38 100644 --- a/packages/babel-parser/src/parse-error/standard-errors.js +++ b/packages/babel-parser/src/parse-error/standard-errors.js @@ -130,7 +130,7 @@ export default (_: typeof toParseErrorCredentials) => ({ ImportCallNotNewExpression: _("Cannot use new with import(...)."), ImportCallSpreadArgument: _("`...` is not allowed in `import()`."), ImportJSONBindingNotDefault: _( - `A JSON module can only be imported with "default".`, + "A JSON module can only be imported with `default`.", ), IncompatibleRegExpUVFlags: _( "The 'u' and 'v' regular expression flags cannot be enabled at the same time.",