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

This commit is contained in:
github-actions[bot] authored and Kristoffer Dalby committed 2026-09-28 07:28:19 +02:00
1 parent 53113e2a67
commit 14daea7622
2 files changed
+11 -11

No files matched your search

+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"