@@ -131,7 +131,7 @@ export async function compareMany(
131131 duplicatesEnv : run ( 'duplicate' ) ? dupsEnv : [ ] ,
132132 duplicatesEx : run ( 'duplicate' ) ? dupsEx : [ ] ,
133133 gitignoreUnsafe : run ( 'gitignore' ) ? gitignoreUnsafe : false ,
134- gitignoreMsg : run ( 'gitignore' ) ? gitignoreMsg : null ,
134+ gitignoreMsg : run ( 'gitignore' ) ? gitignoreMsg : null ,
135135 } ;
136136
137137 // --- Stats block for compare mode when --show-stats is active ---
@@ -221,19 +221,24 @@ export async function compareMany(
221221 if ( ! opts . json && ! opts . fix ) {
222222 const ignored = isEnvIgnoredByGit ( { cwd : opts . cwd , envFile : '.env' } ) ;
223223 const envNotIgnored = ignored === false || ignored === null ;
224- printFixTips ( filtered , envNotIgnored , opts . json ?? false , opts . fix ?? false ) ;
224+ printFixTips (
225+ filtered ,
226+ envNotIgnored ,
227+ opts . json ?? false ,
228+ opts . fix ?? false ,
229+ ) ;
225230 }
226231
227232 if ( opts . fix ) {
228- const { changed, result } = applyFixes ( {
229- envPath,
230- examplePath,
231- missingKeys : filtered . missing ,
232- duplicateKeys : dupsEnv . map ( ( d ) => d . key ) ,
233- } ) ;
234-
235- printAutoFix ( changed , result , envName , exampleName , opts . json ?? false ) ;
236- }
233+ const { changed, result } = applyFixes ( {
234+ envPath,
235+ examplePath,
236+ missingKeys : filtered . missing ,
237+ duplicateKeys : dupsEnv . map ( ( d ) => d . key ) ,
238+ } ) ;
239+
240+ printAutoFix ( changed , result , envName , exampleName , opts . json ?? false ) ;
241+ }
237242
238243 opts . collect ?.( entry ) ;
239244 const warningsExist =
0 commit comments