Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 5, 2024
1 parent 4b65479 commit 118ff98
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/transform_conformance/update_fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
// (or maybe don't - what does this option mean?)

import { transformFileAsync } from '@babel/core';
import { readdir, readFile, rename, writeFile, copyFile } from 'fs/promises';
import { join as pathJoin, extname } from 'path';
import assert from 'assert';
import { copyFile, readdir, readFile, rename, writeFile } from 'fs/promises';
import { extname, join as pathJoin } from 'path';

const PACKAGES = ['babel-plugin-transform-class-properties'];
const FILTER_OUT_PRESETS = ['env'];
Expand Down Expand Up @@ -48,8 +48,8 @@ async function updateDir(dirPath, options, hasChangedOptions) {

const dirFiles = [];

const filenames = {options: null, input: null, output: null, exec: null};
const overrides = {options: false, input: false, output: false, exec: false};
const filenames = { options: null, input: null, output: null, exec: null };
const overrides = { options: false, input: false, output: false, exec: false };

// Find files in dir
for (const file of files) {
Expand Down

0 comments on commit 118ff98

Please sign in to comment.