From 745b3a620d71663f936d9a1918f48b918432bcb0 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Tue, 31 Dec 2024 10:10:12 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes (attempt 2/3) --- tasks/transform_conformance/update_fixtures.mjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 => {