Skip to content

Commit 8e3465e

Browse files
committed
fix deploy version output for dev stage
no versioning
1 parent 745b3d9 commit 8e3465e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

reporter/text.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,11 @@ func (r *reporter) Start() {
117117
case "platform.deploy":
118118
r.pending("deploy", "")
119119
case "platform.deploy.complete":
120-
r.complete("deploy", "version "+e.String("version"), e.Duration("duration"))
120+
s := "complete"
121+
if v := e.String("version"); v != "" {
122+
s = "version " + v
123+
}
124+
r.complete("deploy", s, e.Duration("duration"))
121125
case "platform.function.create":
122126
r.inlineProgress = true
123127
case "stack.create":

0 commit comments

Comments
 (0)