We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05ba15b commit ba48335Copy full SHA for ba48335
src/code_transformer/main.ts
@@ -22,7 +22,6 @@ import {
22
23
import { RcFileTransformer } from './rc_file_transformer.js'
24
import type { MiddlewareNode, EnvValidationNode } from '../types.js'
25
-import { exists } from 'node:fs'
26
27
/**
28
* This class is responsible for updating
@@ -285,7 +284,7 @@ export class CodeTransformer {
285
284
286
importDeclarations.forEach((importDeclaration) => {
287
const existingImport = existingImports.find(
288
- (existingImport) => existingImport.getModuleSpecifierValue() === importDeclaration.module
+ (mod) => mod.getModuleSpecifierValue() === importDeclaration.module
289
)
290
291
0 commit comments