Skip to content

fix(query): windows: explicitly open CONIN/CONOUT when I/O is not a t… #1917

fix(query): windows: explicitly open CONIN/CONOUT when I/O is not a t…

fix(query): windows: explicitly open CONIN/CONOUT when I/O is not a t… #1917

Triggered via push November 22, 2024 16:51
Status Success
Total duration 1m 28s
Artifacts

lint.yml

on: push
Matrix: lint / lint-soft
Matrix: lint / lint
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 6 warnings
lint / lint-soft (macos-latest): color.go#L61
`if strings.HasPrefix(s, "#")` has complex nested blocks (complexity: 7) (nestif)
lint / lint-soft (macos-latest): query.go#L35
`if runtime.GOOS == "windows"` has complex nested blocks (complexity: 6) (nestif)
lint / lint-soft (macos-latest): color.go#L218
missing cases in switch of type colorprofile.Profile: colorprofile.Ascii, colorprofile.NoTTY (exhaustive)
lint / lint-soft (macos-latest): compat/color.go#L51
missing cases in switch of type colorprofile.Profile: colorprofile.Ascii, colorprofile.NoTTY (exhaustive)
lint / lint-soft (macos-latest): query.go#L40
Magic number: 0o644, in <argument> detected (mnd)
lint / lint-soft (macos-latest): query.go#L47
Magic number: 0o644, in <argument> detected (mnd)
lint / lint-soft (macos-latest): terminal.go#L32
Magic number: 11, in <case> detected (mnd)
lint / lint-soft (macos-latest): color.go#L78
Magic number: 16, in <condition> detected (mnd)
lint / lint-soft (macos-latest): color.go#L80
Magic number: 256, in <condition> detected (mnd)
lint / lint-soft (macos-latest): terminal.go#L34
Magic number: 2, in <condition> detected (mnd)
lint / lint-soft (ubuntu-latest): color.go#L61
`if strings.HasPrefix(s, "#")` has complex nested blocks (complexity: 7) (nestif)
lint / lint-soft (ubuntu-latest): query.go#L35
`if runtime.GOOS == "windows"` has complex nested blocks (complexity: 6) (nestif)
lint / lint-soft (ubuntu-latest): color.go#L218
missing cases in switch of type colorprofile.Profile: colorprofile.Ascii, colorprofile.NoTTY (exhaustive)
lint / lint-soft (ubuntu-latest): compat/color.go#L51
missing cases in switch of type colorprofile.Profile: colorprofile.Ascii, colorprofile.NoTTY (exhaustive)
lint / lint-soft (ubuntu-latest): query.go#L40
Magic number: 0o644, in <argument> detected (mnd)
lint / lint-soft (ubuntu-latest): query.go#L47
Magic number: 0o644, in <argument> detected (mnd)
lint / lint-soft (ubuntu-latest): terminal.go#L32
Magic number: 11, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): color.go#L78
Magic number: 16, in <condition> detected (mnd)
lint / lint-soft (ubuntu-latest): color.go#L80
Magic number: 256, in <condition> detected (mnd)
lint / lint-soft (ubuntu-latest): terminal.go#L34
Magic number: 2, in <condition> detected (mnd)
lint / lint-soft (windows-latest): color.go#L61
`if strings.HasPrefix(s, "#")` has complex nested blocks (complexity: 7) (nestif)
lint / lint-soft (windows-latest): query.go#L35
`if runtime.GOOS == "windows"` has complex nested blocks (complexity: 6) (nestif)
lint / lint-soft (windows-latest): color.go#L218
missing cases in switch of type colorprofile.Profile: colorprofile.Ascii, colorprofile.NoTTY (exhaustive)
lint / lint-soft (windows-latest): compat/color.go#L51
missing cases in switch of type colorprofile.Profile: colorprofile.Ascii, colorprofile.NoTTY (exhaustive)
lint / lint-soft (windows-latest): query.go#L40
Magic number: 0o644, in <argument> detected (mnd)
lint / lint-soft (windows-latest): query.go#L47
Magic number: 0o644, in <argument> detected (mnd)
lint / lint-soft (windows-latest): terminal.go#L32
Magic number: 11, in <case> detected (mnd)
lint / lint-soft (windows-latest): color.go#L78
Magic number: 16, in <condition> detected (mnd)
lint / lint-soft (windows-latest): color.go#L80
Magic number: 256, in <condition> detected (mnd)
lint / lint-soft (windows-latest): terminal.go#L34
Magic number: 2, in <condition> detected (mnd)
lint / lint-soft (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
lint / lint (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
lint / lint-soft (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
lint / lint (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/lipgloss/lipgloss. Supported file pattern: go.sum
lint / lint (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\lipgloss\lipgloss. Supported file pattern: go.sum
lint / lint-soft (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\lipgloss\lipgloss. Supported file pattern: go.sum