mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Print empty line only if dev view is not enabled
This commit is contained in:
parent
a378c93d68
commit
600eaeeeca
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ func (l *logger) Exit(format string, v ...interface{}) {
|
|||
}
|
||||
|
||||
func (l *logger) Empty() {
|
||||
if l.InfoLog.Writer() != io.Discard {
|
||||
if !l.devView && l.InfoLog.Writer() != io.Discard {
|
||||
fmt.Println("")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue