Skip to content

Commit 9c88671

Browse files
authored
Merge pull request #131 from Chrilleweb/cmn/v2.3.12
v2.3.12
2 parents a9b5ae8 + 0b9ec47 commit 9c88671

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ This project follows [Keep a Changelog](https://keepachangelog.com/) and [Semant
3535
### Fixed
3636

3737
- Fixed false positive secret detection for certain harmless attribute keys in codebase scanner.
38+
- Fixed print fix bug
3839

3940
## [2.3.11] - 2025-12-13
4041

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# dotenv-diff
22

3-
![Demo](./public/demo3.png)
3+
![Demo](./public/demo3.gif)
44

55
`dotenv-diff` scans your codebase to detect which environment variables are used
66
and compares them against your `.env` or `.env.example` files.

public/demo3.gif

596 KB
Loading

src/ui/shared/printAutoFix.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function printAutoFix(
4141
),
4242
);
4343
}
44-
if (result.addedExample.length) {
44+
if (result.addedExample.length && !result.addedEnv.length) {
4545
console.log(
4646
chalk.green(
4747
` - Synced ${result.addedExample.length} keys to ${exampleName}: ${result.addedExample.join(', ')}`,

0 commit comments

Comments
 (0)