Skip to content

Commit ba48335

Browse files
committed
refactor: fix linting errors
1 parent 05ba15b commit ba48335

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/code_transformer/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222

2323
import { RcFileTransformer } from './rc_file_transformer.js'
2424
import type { MiddlewareNode, EnvValidationNode } from '../types.js'
25-
import { exists } from 'node:fs'
2625

2726
/**
2827
* This class is responsible for updating
@@ -285,7 +284,7 @@ export class CodeTransformer {
285284

286285
importDeclarations.forEach((importDeclaration) => {
287286
const existingImport = existingImports.find(
288-
(existingImport) => existingImport.getModuleSpecifierValue() === importDeclaration.module
287+
(mod) => mod.getModuleSpecifierValue() === importDeclaration.module
289288
)
290289

291290
/**

0 commit comments

Comments
 (0)