Skip to content

cmdr: fix redirectTo not work and not public #556

cmdr: fix redirectTo not work and not public

cmdr: fix redirectTo not work and not public #556

Triggered via push January 20, 2025 21:56
Status Failure
Total duration 44s
Artifacts

go.yml

on: push
Matrix: test
Finish Coverage
0s
Finish Coverage
do-release
0s
do-release
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
test (1.22.x, ubuntu-latest): tiny/litecmd.go#L48
cannot use files[key] (map index expression of type *liteCmdS) as cli.Cmd value in assignment: *liteCmdS does not implement cli.Cmd (missing method RedirectTo)
test (1.22.x, ubuntu-latest): tiny/litecmd.go#L68
cannot use (*liteCmdS)(nil) (value of type *liteCmdS) as cli.Cmd value in variable declaration: *liteCmdS does not implement cli.Cmd (missing method RedirectTo)
test (1.22.x, ubuntu-latest): tiny/litecmd.go#L87
impossible type assertion: s.owner.(*liteCmdS)
test (1.22.x, ubuntu-latest)
Process completed with exit code 1.
coverage: tiny/litecmd.go#L48
cannot use files[key] (map index expression of type *liteCmdS) as cli.Cmd value in assignment: *liteCmdS does not implement cli.Cmd (missing method RedirectTo)
coverage: tiny/litecmd.go#L68
cannot use (*liteCmdS)(nil) (value of type *liteCmdS) as cli.Cmd value in variable declaration: *liteCmdS does not implement cli.Cmd (missing method RedirectTo)
coverage: tiny/litecmd.go#L87
impossible type assertion: s.owner.(*liteCmdS)
coverage
Process completed with exit code 1.
test (1.22.x, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (1.22.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/cmdr/cmdr. Supported file pattern: go.sum
coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
coverage
Restore cache failed: Dependencies file is not found in /home/runner/work/cmdr/cmdr. Supported file pattern: go.sum