Skip to content

Commit

Permalink
cmd: fix bug with --bundle and multiple inputs, fixes #683
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Mar 14, 2024
1 parent 86576d6 commit c4b9e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minify/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ func run() int {
if dirDst {
output += string(os.PathSeparator)
}
} else if 1 < len(inputs) {
} else if !bundle && 1 < len(inputs) {
Error.Println("must specify --bundle for multiple input files with stdout destination")
return 1
}
Expand Down

0 comments on commit c4b9e68

Please sign in to comment.