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:
awalsh128 2026-11-04 17:34:45 -08:00
parent 88af1dc50d
commit 12c20ea77f
4 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View file

@ -1 +1 @@
601b17f706b904c5c53ea89618154d8a347d450aad26a364fc478a9fcd93fc63
c2d4d075efc1a08b7de3b14dde524f04e8584dd3b14a898e1d4d9477ed0a6425

View file

@ -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) {