flake.lock: update flake-checks, nixpkgs, treefmt-nix

This commit is contained in:
github-actions[bot]
2026-09-27 19:10:02 +00:00
committed by Kristoffer Dalby
parent 53113e2a67
commit 14daea7622
2 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -111,8 +111,8 @@ func PullWithAuth(pool *dockertest.Pool, imageRef string) error {
}
func splitImageRef(ref string) (string, string) {
if i := strings.LastIndex(ref, ":"); i >= 0 {
return ref[:i], ref[i+1:]
if before, after, ok := strings.CutLast(ref, ":"); ok {
return before, after
}
return ref, "latest"