Skip to content

feat: added first draft of replacement between delimiter #6970

feat: added first draft of replacement between delimiter

feat: added first draft of replacement between delimiter #6970

Status Failure
Total duration 7m 22s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 4 warnings
Lint: api/types/replacement.go#L27
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: api/types/replacement.go#L74
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: api/filters/replacement/replacement.go#L263
ifElseChain: rewrite if-else to switch statement (gocritic)
Lint: api/filters/replacement/replacement.go#L258
`if options != nil && (options.Delimiter != "" || options.FullText != "")` has complex nested blocks (complexity: 5) (nestif)
Lint
Process completed with exit code 2.
Test Windows
Restore cache failed: Dependencies file is not found in D:\a\kustomize\kustomize. Supported file pattern: go.sum
Test MacOS
Restore cache failed: Dependencies file is not found in /Users/runner/work/kustomize/kustomize. Supported file pattern: go.sum
Test Linux
Restore cache failed: Dependencies file is not found in /home/runner/work/kustomize/kustomize. Supported file pattern: go.sum
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/kustomize/kustomize. Supported file pattern: go.sum