Merge pull request #2 from helxplatform/trash #4
Annotations
11 errors and 5 warnings
|
test-backend
Process completed with exit code 2.
|
|
lint-backend:
http/trash.go#L135
var-naming: var restoreId should be restoreID (revive)
|
|
lint-backend:
http/trash.go#L114
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
|
|
lint-backend:
http/trash.go#L117
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
|
|
lint-backend:
http/trash.go#L30
unnamedResult: consider giving a name to these results (gocritic)
|
|
lint-backend:
http/trash.go#L201
preferFprint: suggestion: fmt.Fprintf(stdinPipe, "%d\n", *restoreId) (gocritic)
|
|
lint-backend:
http/trash.go#L31
filepathJoin: "../info" contains a path separator (gocritic)
|
|
lint-backend:
files/file.go#L141
importShadow: shadow of imported from 'io/fs' package 'fs' (gocritic)
|
|
lint-backend:
files/file.go#L109
importShadow: shadow of imported package 'path' (gocritic)
|
|
lint-backend:
files/file.go#L144
filepathJoin: "/home" contains a path separator (gocritic)
|
|
lint-backend:
files/file.go#L151
commentedOutCode: may want to remove commented-out code (gocritic)
|
|
lint-frontend:
frontend/src/views/files/FileListing.vue#L430
Replace `fileStore?.req?.path·||·"")` with `⏎········fileStore?.req?.path·||·""⏎······),`
|
|
|
|
|
|
lint-frontend:
frontend/src/components/prompts/Delete.vue#L19
Parsing error: Unexpected closing tag "p". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags
|
|
|