summaryrefslogtreecommitdiff
path: root/doPatch.go
diff options
context:
space:
mode:
Diffstat (limited to 'doPatch.go')
-rw-r--r--doPatch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doPatch.go b/doPatch.go
index da27410..9d5cedc 100644
--- a/doPatch.go
+++ b/doPatch.go
@@ -21,7 +21,7 @@ import (
)
func isPatchingSafe() bool {
- if me.forge.Mode == forgepb.ForgeMode_NORMAL {
+ if me.forge.IsModeNormal() {
return true
}
log.Info("This patch command is not safe to run now")