diff --git a/tasks/transform_conformance/update_fixtures.mjs b/tasks/transform_conformance/update_fixtures.mjs index e51df85606f962..bb577c7901cefd 100644 --- a/tasks/transform_conformance/update_fixtures.mjs +++ b/tasks/transform_conformance/update_fixtures.mjs @@ -40,8 +40,8 @@ const PACKAGES_PATH = pathJoin(import.meta.dirname, '../coverage/babel/packages' // These fixtures transform incorrectly by Babel. Haven't figured out why yet. const IGNORED_FIXTURES = [ 'compile-to-class/constructor-collision-ignores-types', - 'compile-to-class/constructor-collision-ignores-types-loose' -] + 'compile-to-class/constructor-collision-ignores-types-loose', +]; // Copied from `@babel/helper-transform-fixture-test-runner` const EXTERNAL_HELPERS_VERSION = '7.100.0'; @@ -60,7 +60,7 @@ for (const packageName of PACKAGES) { */ async function updateDir(dirPath, options, hasChangedOptions) { if (IGNORED_FIXTURES.some(p => dirPath.endsWith(p))) { - return + return; } const files = await readdir(dirPath, { withFileTypes: true }); @@ -159,7 +159,7 @@ function ensureAllClassPluginsEnabled(options) { } already_enabled.push(pluginName); } - }) + }); if (already_enabled.length) { CLASS_PLUGINS.forEach(pluginName => {