Skip to content

Commit e2d159c

Browse files
committed
fix: diff.
1 parent 150edf4 commit e2d159c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func run(cfg Config) error {
7474
return fmt.Errorf("failed to get Git status: %w", err)
7575
}
7676

77-
if hasDiff(output) {
77+
if !hasDiff(output) {
7878
log.Println("Nothing to commit.")
7979
return nil
8080
}

0 commit comments

Comments
 (0)