Skip to content

Commit d050d51

Browse files
committed
printfix
1 parent bded1f5 commit d050d51

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

src/services/scanOutputToConsole.ts

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -151,19 +151,17 @@ export function outputToConsole(
151151
}
152152

153153
// Filtered results for fix tips
154-
const filtered: Filtered = {
154+
printFixTips(
155+
{
155156
missing: scanResult.missing,
156157
duplicatesEnv: scanResult.duplicates?.env ?? [],
157158
duplicatesEx: scanResult.duplicates?.example ?? [],
158159
gitignoreIssue: hasGitignoreIssue ? { reason: 'not-ignored' } : null,
159-
};
160-
161-
printFixTips(
162-
filtered,
163-
hasGitignoreIssue,
164-
isJson,
165-
opts.fix ?? false,
166-
);
160+
},
161+
hasGitignoreIssue,
162+
isJson,
163+
opts.fix ?? false,
164+
);
167165

168166
return { exitWithError };
169167
}

0 commit comments

Comments
 (0)