summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-10-14 13:07:56 +0300
committerWolfy-J <[email protected]>2018-10-14 13:07:56 +0300
commitcc4f4a4763f6629219e6f85dcaa3579b3028fc84 (patch)
tree09a9a356356a69c076b6cc20fb5f48e3bfd196fa
parent7f11349b79a54848a23ebb1abedded37fcf583a1 (diff)
split all warning messages by lines
-rw-r--r--cmd/util/debug.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd/util/debug.go b/cmd/util/debug.go
index ac3eaeca..176b42d3 100644
--- a/cmd/util/debug.go
+++ b/cmd/util/debug.go
@@ -34,10 +34,7 @@ func LogEvent(logger *logrus.Logger, event int, ctx interface{}) bool {
continue
}
- logger.Warning(Sprintf(
- "<yellow>%s</reset>",
- strings.Trim(line, "\r\n"),
- ))
+ logger.Warning(Sprintf("<yellow>%s</reset>", strings.Trim(line, "\r\n")))
}
return true