matrix is done

Signed-off-by: Casey Lee <[email protected]>
This commit is contained in:
Casey Lee committed 2020-02-20 21:06:03 -05:00
1 parent 5b7019cd0b
commit f8fb88816a
8 files changed
+219 -46

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ func newRunCommand(ctx context.Context, input *Input) func(*cobra.Command, []str
var eventName string
if len(args) > 0 {
eventName = args[0]
} else if events := planner.GetEvents(); len(events) > 1 {
} else if events := planner.GetEvents(); len(events) > 0 {
// set default event type to first event
// this way user dont have to specify the event.
log.Debugf("Using detected workflow event: %s", events[0])