Skip to content
This repository was archived by the owner on Sep 29, 2018. It is now read-only.

Commit 69c80a3

Browse files
committed
Fix Color Leaks
1 parent cf5ab9a commit 69c80a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,15 @@ func checkVersion(filepath string, blob []byte) bool {
125125
}
126126

127127
func printInfo(item string) {
128-
fmt.Printf("\033[0;32m%s\n", item)
128+
fmt.Printf("\033[0;32m%s\033[0m\n", item)
129129
}
130130

131131
func printWarn(item string) {
132-
fmt.Printf("\033[0;91m%s\n", item)
132+
fmt.Printf("\033[0;91m%s\033[0m\n", item)
133133
}
134134

135135
func printPair(key string, value string) {
136-
fmt.Printf("\033[0;34m%s: \033[0;35m%s\n", key, value)
136+
fmt.Printf("\033[0;34m%s: \033[0;35m%s\033[0m\n", key, value)
137137
}
138138

139139
func extractFile(base string) {

0 commit comments

Comments
 (0)