Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes (attempt 2/3)
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 31, 2024
1 parent acb328e commit 2bbef3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/transform_conformance/update_fixtures.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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 });
Expand Down Expand Up @@ -159,7 +159,7 @@ function ensureAllClassPluginsEnabled(options) {
}
already_enabled.push(pluginName);
}
})
});

if (already_enabled.length) {
CLASS_PLUGINS.forEach(pluginName => {
Expand Down

0 comments on commit 2bbef3b

Please sign in to comment.