summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--doPatch.go8
2 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index f01c0ca..111da5c 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,8 @@ BUILDTIME = $(shell date +%Y.%m.%d_%H%M)
default: install
# forge dirty --verbose
- forge patch list
+ # forge patch list
+ forge
vet:
@GO111MODULE=off go vet
diff --git a/doPatch.go b/doPatch.go
index c441b3e..59f1cf8 100644
--- a/doPatch.go
+++ b/doPatch.go
@@ -49,10 +49,6 @@ func doPatchList() error {
// log.Info("pset name =", pset.Name)
dumpPatchset(pset)
}
-
- // if err := savePatchsets(psets); err != nil {
- // return err
- // }
return nil
}
@@ -169,5 +165,9 @@ func doPatchGet() error {
// log.Info("pset name =", pset.Name)
dumpPatchset(pset)
}
+
+ if err := savePatchsets(psets); err != nil {
+ return err
+ }
return nil
}