Skip to content

Commit

Permalink
Fix file is not a cherri file error
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed Oct 26, 2022
1 parent c51790f commit a9d49c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func checkFile(filePath string) {
var nameParts = strings.Split(file.Name(), ".")
var ext = nameParts[len(nameParts)-1]
if ext != fileExtension {
fmt.Printf("\033[31mFile '%s' is not a .%s file!\033[0m\n", filePath, fileExtension)
fmt.Printf("\n\033[31mFile '%s' is not a .%s file!\033[0m\n", filePath, fileExtension)
os.Exit(1)
}
}
Expand Down

0 comments on commit a9d49c9

Please sign in to comment.