This commit is contained in:
Marcin Ciarka 2023-08-24 13:55:23 +03:00 committed by GitHub
parent 853bfda35a
commit f2bc0db07f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ module.exports = class HarmonyDetectionParserPlugin {
const module = parser.state.module;
if (!this.topLevelAwait) {
throw new Error(
"The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)"
"The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enable it)"
);
}
if (!HarmonyExports.isEnabled(parser.state)) {