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:
Grigory Entin
2023-06-04 09:42:02 +00:00
committed by GitHub
co-authored by Nikolay Edigaryev
parent ece7c3dcc8
commit c12f93a90a
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -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
+1 -1
View File
@@ -31,7 +31,7 @@ func runLogsVM(cmd *cobra.Command, args []string) error {
}
for _, line := range lines {
fmt.Print(line)
fmt.Println(line)
}
return nil