Removing an environment should only remove the files for the specifie… #155
Annotations
10 errors and 1 warning
lint:
build/builder.go#L244
Function 'Build' is too long (31 > 30) (funlen)
|
lint:
build/builder.go#L369
Function 'asyncBuild' has too many statements (32 > 20) (funlen)
|
lint:
build/builder.go#L606
Function 'addArtifactsToRepo' has too many statements (22 > 20) (funlen)
|
lint:
build/builder_test.go#L234
string `/path/to/wrapper` has 3 occurrences, make it a constant (goconst)
|
lint:
wr/wr.go#L132
`if err != nil` has complex nested blocks (complexity: 2) (nestif)
|
lint:
cmd/build.go#L40
var `buildVersion` is unused (unused)
|
lint:
remove/remove.go#L36
const `graphQLDeleteEnvironment` is unused (unused)
|
lint:
remove/remove.go#L52
const `graphQLEndpoint` is unused (unused)
|
lint:
remove/remove.go#L54
type `graphQLDeleteEnvironmentMutation` is unused (unused)
|
lint
issues found
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|