You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/preflight/preflight.go
+21-11Lines changed: 21 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -33,14 +33,17 @@ type PreflightCmd struct {
33
33
JSONbool`help:"Emit one JSON object per event (JSONL)." xor:"output"`
34
34
}
35
35
36
-
varnotifyContext=signal.NotifyContext
36
+
var (
37
+
notifyContext=signal.NotifyContext
38
+
newFactory=factory.New
39
+
)
37
40
38
41
func (c*PreflightCmd) Help() string {
39
42
return`Snapshots your working tree (uncommitted, staged, and untracked changes) and pushes it to a bk/preflight/<id> branch. If there are no local changes, pushes HEAD directly.`
"the preflight command is under development and requires the 'preflight' experiment to opt in. Run: bk config set experiments preflight or set BUILDKITE_EXPERIMENTS=preflight")
0 commit comments