Skip to content

Commit

Permalink
fix: clean output dir logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Mmx233 committed Oct 25, 2024
1 parent 80bf28b commit 0321d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/builder/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

func PrepareDirs(outputDir string) error {
if global.Config.DisableAutoClean {
if !global.Config.DisableAutoClean {
_ = os.RemoveAll(outputDir)
} else {
_, err := os.Stat(outputDir)
Expand Down

0 comments on commit 0321d29

Please sign in to comment.