Skip to content

fix: 修复plugins和core/portfinger的revive警告 #96

fix: 修复plugins和core/portfinger的revive警告

fix: 修复plugins和core/portfinger的revive警告 #96

Triggered via push December 5, 2025 14:46
Status Failure
Total duration 39s
Artifacts

test-build.yml

on: push
代码检查
35s
代码检查
单元测试和构建
0s
单元测试和构建
构建测试
0s
构建测试
Fit to window
Zoom out
Zoom in

Annotations

10 errors
代码检查: plugins/local/shellenv.go#L18
exported: comment on exported type ShellEnvPlugin should be of the form "ShellEnvPlugin ..." (with optional leading article) (revive)
代码检查: plugins/local/shellenv.go#L330
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
代码检查: plugins/local/forwardshell.go#L21
exported: comment on exported type ForwardShellPlugin should be of the form "ForwardShellPlugin ..." (with optional leading article) (revive)
代码检查: plugins/local/avdetect.go#L27
exported: comment on exported type AVDetectPlugin should be of the form "AVDetectPlugin ..." (with optional leading article) (revive)
代码检查: plugins/local/socks5proxy.go#L19
exported: comment on exported type Socks5ProxyPlugin should be of the form "Socks5ProxyPlugin ..." (with optional leading article) (revive)
代码检查: plugins/local/ldpreload.go#L18
exported: comment on exported type LDPreloadPlugin should be of the form "LDPreloadPlugin ..." (with optional leading article) (revive)
代码检查: plugins/local/keylogger.go#L18
exported: comment on exported type KeyloggerPlugin should be of the form "KeyloggerPlugin ..." (with optional leading article) (revive)
代码检查: plugins/local/cleaner.go#L17
exported: comment on exported type CleanerPlugin should be of the form "CleanerPlugin ..." (with optional leading article) (revive)
代码检查: plugins/local/reverseshell.go#L21
exported: comment on exported type ReverseShellPlugin should be of the form "ReverseShellPlugin ..." (with optional leading article) (revive)
代码检查: plugins/local/downloader.go#L20
exported: comment on exported type DownloaderPlugin should be of the form "DownloaderPlugin ..." (with optional leading article) (revive)