Skip to content

Commit

Permalink
Fix os.exit on empty folder; woops :/
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-wannacott committed Sep 7, 2023
1 parent 4a5ec6f commit f71162f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gontage.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func Gontage(sprite_source_folder string, hframes *int) {
if err != nil {
log.Fatal(err)
} else if len(sprites_folder) == 0 {
log.Fatalf("Looks like folder %v is empty...", sprite_source_folder)
fmt.Println("Looks like folder ", sprite_source_folder, "is empty...")
}

var chunkSize int
Expand Down

0 comments on commit f71162f

Please sign in to comment.