mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-10-08 07:51:33 +02:00
Fixed logs gluing the lines together. (#87)
* Fixed logs gluing the lines. * .golangci.yml: disable "depguard" linter --------- Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>
This commit is contained in:
co-authored by
Nikolay Edigaryev
parent
ece7c3dcc8
commit
c12f93a90a
+3
-1
@@ -12,7 +12,6 @@ linters:
|
||||
enable:
|
||||
- asciicheck
|
||||
- bodyclose
|
||||
- depguard
|
||||
- dupl
|
||||
- errcheck
|
||||
- exhaustive
|
||||
@@ -114,6 +113,9 @@ linters:
|
||||
# Unfortunately too much false-positives, e.g. for a 0700 umask or number 10 when using strconv.FormatInt()
|
||||
- gomnd
|
||||
|
||||
# Needs package whitelists
|
||||
- depguard
|
||||
|
||||
issues:
|
||||
# Don't hide multiple issues that belong to one class since GitHub annotations can handle them all nicely.
|
||||
max-issues-per-linter: 0
|
||||
|
||||
@@ -31,7 +31,7 @@ func runLogsVM(cmd *cobra.Command, args []string) error {
|
||||
}
|
||||
|
||||
for _, line := range lines {
|
||||
fmt.Print(line)
|
||||
fmt.Println(line)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user