Skip to content

Fix sudo appearing in touchSentinel command (#91) #644

Fix sudo appearing in touchSentinel command (#91)

Fix sudo appearing in touchSentinel command (#91) #644

Triggered via push September 6, 2024 08:18
Status Failure
Total duration 25s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint: basedirs/tsv.go#L43
Function 'ParseConfig' is too long (34 > 30) (funlen)
lint: basedirs/db.go#L271
cognitive complexity 10 of func `(*BaseDirs).gidsToMountpoints` is high (> 9) (gocognit)
lint: basedirs/db.go#L325
`if existing != nil` has complex nested blocks (complexity: 2) (nestif)
lint: basedirs/history.go#L141
Magic number: 2, in <case> detected (mnd)
lint: basedirs/basedirs_test.go#L952
defer statements should only be cuddled with expressions on same variable (wsl)
lint: basedirs/basedirs_test.go#L964
if statements should only be cuddled with assignments (wsl)
lint: basedirs/tree_test.go#L53
append only allowed to cuddle with appended value (wsl)
lint: combine/dgut.go#L43
unnecessary leading newline (whitespace)
lint: combine/bygroup_test.go#L57
only cuddled expressions if assigning variable or using from line above (wsl)
lint: wait/wait_test.go#L74
assignments should only be cuddled with other assignments (wsl)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: neaten/neaten.go#L342
unused-parameter: parameter 'de' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/walk.go#L89
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/basedir.go#L131
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/chtsv.go#L46
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/cleanup.go#L60
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/cron.go#L65
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/stat.go#L170
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/tidy.go#L92
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/version.go#L43
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/combine.go#L66
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)