actions: integrating staticcheck, os matrix #18
Annotations
11 errors
Run CI (ubuntu-latest):
git/git.go#L26
should omit comparison to bool constant, can be simplified to !stat.IsDir() (S1002)
|
Run CI (ubuntu-latest):
ui/columnizer.go#L115
should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007)
|
Run CI (ubuntu-latest)
Process completed with exit code 1.
|
Run CI (macOS-latest):
git/git.go#L26
should omit comparison to bool constant, can be simplified to !stat.IsDir() (S1002)
|
Run CI (macOS-latest):
ui/columnizer.go#L115
should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007)
|
Run CI (macOS-latest)
Process completed with exit code 1.
|
Run CI (windows-latest):
git/git.go#L26
should omit comparison to bool constant, can be simplified to !stat.IsDir() (S1002)
|
Run CI (windows-latest):
ui/columnizer.go#L115
should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (S1007)
|
Run CI (windows-latest):
ui/stdout_writer_windows.go#L22
var procFillConsoleOutputAttribute is unused (U1000)
|
Run CI (windows-latest):
ui/stdout_writer_windows.go#L63
should omit comparison to bool constant, can be simplified to !ok (S1002)
|
Run CI (windows-latest)
Process completed with exit code 1.
|