aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-22 22:28:44 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-22 22:28:44 +0200
commitd1d74b6ddcb432e8f2b7bfcbe1a784b2db0ae382 (patch)
tree98d0df14dbfb44d553699d37309a2a292b4aa6fc /skate/cmd
parent0f879ccbaa3cd29042d7b6e559c8c9661ca8a85e (diff)
downloadrefcat-d1d74b6ddcb432e8f2b7bfcbe1a784b2db0ae382.tar.gz
refcat-d1d74b6ddcb432e8f2b7bfcbe1a784b2db0ae382.zip
fix ol calls
Diffstat (limited to 'skate/cmd')
-rw-r--r--skate/cmd/skate-conv/main.go2
-rw-r--r--skate/cmd/skate-reduce/main.go8
2 files changed, 5 insertions, 5 deletions
diff --git a/skate/cmd/skate-conv/main.go b/skate/cmd/skate-conv/main.go
index 4a33473..27f09e2 100644
--- a/skate/cmd/skate-conv/main.go
+++ b/skate/cmd/skate-conv/main.go
@@ -98,7 +98,7 @@ func openLibraryToRelease(p []byte) ([]byte, error) {
if err = json.Unmarshal(p, &w); err != nil {
return nil, err
}
- if release, err = skate.OpenLibraryToRelease(&w); err != nil {
+ if release, err = skate.OpenLibraryWorkToRelease(&w); err != nil {
return nil, err
}
release.Extra.Skate.Status = "ol"
diff --git a/skate/cmd/skate-reduce/main.go b/skate/cmd/skate-reduce/main.go
index 9c87a35..f26bdf7 100644
--- a/skate/cmd/skate-reduce/main.go
+++ b/skate/cmd/skate-reduce/main.go
@@ -149,10 +149,10 @@ func main() {
log.Fatal(err)
}
case "olmerge":
- e, w, err := xio.OpenTwo(*openLibraryEditions, *openLibraryWorks)
- if err != nil {
- log.Fatal(err)
- }
+ // e, w, err := xio.OpenTwo(*openLibraryEditions, *openLibraryWorks)
+ // if err != nil {
+ // log.Fatal(err)
+ // }
default:
log.Fatalf("invalid mode")
}