Skip to content

Commit

Permalink
remove info color from read output
Browse files Browse the repository at this point in the history
  • Loading branch information
sharma1612harshit committed Jun 4, 2020
1 parent 6bbf2b8 commit 91c4e7f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ func Info(message string) {
fmt.Printf(InfoColor, message)
}

// logs stdout
func Output(message string) {
fmt.Printf(message)
}

// logs help context as a warning
func Help() {
Warning(HelpText)
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func main() {
logger.Critical(err.Error())
}

logger.Info(string(Decrypted))
logger.Output(string(Decrypted))

logger.Critical(err.Error())
}
Expand All @@ -79,6 +79,6 @@ func main() {
logger.Critical(err.Error())
}

logger.Info(string(Decrypted))
logger.Output(string(Decrypted))
}
}
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.1.0
v1.2.0

0 comments on commit 91c4e7f

Please sign in to comment.