feat: some optimize #2359
lint.yml
on: pull_request
lint
/
lint
1m 6s
lint
/
nilaway
1m 38s
Annotations
20 errors and 1 warning
lint / nilaway:
support/str/str.go#L810
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
lint / nilaway
read directly from variadic parameter `callback` sliced into
|
lint / nilaway:
support/console/console.go#L58
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
lint / nilaway
literal `nil` returned from `genSplit()` in position 0
|
lint / nilaway
result 0 of `genSplit()` returned from `Split()` in position 0
|
lint / nilaway
result 0 of `Split()` sliced into via the assignment(s):
|
lint / nilaway:
console/application.go#L50
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
lint / nilaway
nilable value assigned into global variable `Args`
|
lint / nilaway
global variable `Args` sliced into
|
lint / nilaway:
console/application.go#L86
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
lint / nilaway
Cannot open: File exists
|
lint / nilaway
Cannot open: File exists
|
lint / nilaway
Cannot open: File exists
|
lint / nilaway
Cannot open: File exists
|
lint / nilaway
Cannot open: File exists
|
lint / nilaway
Cannot open: File exists
|
lint / nilaway
Cannot open: File exists
|
lint / nilaway
Cannot open: File exists
|
lint / nilaway
Cannot open: File exists
|
lint / nilaway
Cannot open: File exists
|
lint / nilaway
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|