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:
parent
ece7c3dcc8
commit
c12f93a90a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue