Skip to content

fix: manually query terminal for background color #1868

fix: manually query terminal for background color

fix: manually query terminal for background color #1868

Triggered via pull request November 8, 2024 03:10
Status Success
Total duration 1m 23s
Artifacts

lint.yml

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

Annotations

15 errors and 6 warnings
lint / lint-soft (ubuntu-latest): terminal.go#L34
Magic number: 11, in <case> detected (mnd)
lint / lint-soft (ubuntu-latest): terminal.go#L36
Magic number: 2, in <condition> detected (mnd)
lint / lint-soft (ubuntu-latest): terminal.go#L120
Magic number: 0xff, in <condition> detected (mnd)
lint / lint-soft (ubuntu-latest): terminal.go#L130
Magic number: 3, in <condition> detected (mnd)
lint / lint-soft (ubuntu-latest): terminal.go#L141
Magic number: 4, in <condition> detected (mnd)
lint / lint-soft (macos-latest): terminal.go#L34
Magic number: 11, in <case> detected (mnd)
lint / lint-soft (macos-latest): terminal.go#L36
Magic number: 2, in <condition> detected (mnd)
lint / lint-soft (macos-latest): terminal.go#L120
Magic number: 0xff, in <condition> detected (mnd)
lint / lint-soft (macos-latest): terminal.go#L130
Magic number: 3, in <condition> detected (mnd)
lint / lint-soft (macos-latest): terminal.go#L141
Magic number: 4, in <condition> detected (mnd)
lint / lint-soft (windows-latest): terminal.go#L34
Magic number: 11, in <case> detected (mnd)
lint / lint-soft (windows-latest): terminal.go#L36
Magic number: 2, in <condition> detected (mnd)
lint / lint-soft (windows-latest): terminal.go#L120
Magic number: 0xff, in <condition> detected (mnd)
lint / lint-soft (windows-latest): terminal.go#L130
Magic number: 3, in <condition> detected (mnd)
lint / lint-soft (windows-latest): terminal.go#L141
Magic number: 4, in <condition> detected (mnd)
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-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 (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\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