From 6749a85c609175ba46afe965488d59f250ca63b6 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 27 May 2021 02:28:23 +0200 Subject: reduce: verify requires a specific order --- skate/cmd/skate-reduce/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skate/cmd/skate-reduce/main.go b/skate/cmd/skate-reduce/main.go index 176737a..84e87d9 100644 --- a/skate/cmd/skate-reduce/main.go +++ b/skate/cmd/skate-reduce/main.go @@ -138,12 +138,12 @@ func main() { log.Fatal(err) } case "ol": - f, o, err := xio.OpenTwo(*refs, *openLibrary) + o, f, err := xio.OpenTwo(*openLibrary, *refs) if err != nil { log.Fatal(err) } // XXX: This is broken. - if err := skate.ZippyVerifyRefs(f, o, bw); err != nil { + if err := skate.ZippyVerifyRefs(o, f, bw); err != nil { log.Fatal(err) } default: -- cgit v1.2.3