mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2026-11-13 21:36:56 +00:00
Drop trailing period from no-candidate error string
golangci-lint v2 (from #223) flags ST1005 on error strings ending in punctuation. Rebuild the committed apt_query binaries and source hash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
88af1dc50d
commit
12c20ea77f
BIN
apt_query-arm64
BIN
apt_query-arm64
Binary file not shown.
BIN
apt_query-x86
BIN
apt_query-x86
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
601b17f706b904c5c53ea89618154d8a347d450aad26a364fc478a9fcd93fc63
|
||||
c2d4d075efc1a08b7de3b14dde524f04e8584dd3b14a898e1d4d9477ed0a6425
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ func getNonVirtualPackage(executor exec.Executor, name string) (pkg *AptPackage,
|
|||
logging.Debug("No reverse provides found for '%s' in apt-cache showpkg output:\n%s", name, execution.CombinedOut)
|
||||
return pkg, fmt.Errorf(
|
||||
"package '%s' has no installation candidate: it is virtual or missing from the APT package lists, and no package provides it. "+
|
||||
"Use a concrete package name instead, or if the APT package lists may be stale, run 'sudo apt-get update' before this action.", name)
|
||||
"Use a concrete package name instead, or if the APT package lists may be stale, run 'sudo apt-get update' before this action", name)
|
||||
}
|
||||
|
||||
func getPackage(executor exec.Executor, paragraph string) (pkg *AptPackage, err error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue