Refactor: make ESLint happy

This commit is contained in:
SukkaW
2024-07-24 23:14:23 +08:00
parent 46ae8e8cd8
commit 6877195279
10 changed files with 24 additions and 53 deletions

View File

@@ -4,9 +4,8 @@ import picocolors from 'picocolors';
import type { Span } from '../trace';
import path from 'path';
import fs from 'fs';
import { fastStringArrayJoin } from './misc';
import { fastStringArrayJoin, writeFile } from './misc';
import { readFileByLine } from './fetch-text-by-line';
import { writeFile } from './bun';
export async function compareAndWriteFile(span: Span, linesA: string[], filePath: string) {
let isEqual = true;