diff --git a/pkg/libdevfile/command.go b/pkg/libdevfile/command.go index 56aa51df3b..0e4c823192 100644 --- a/pkg/libdevfile/command.go +++ b/pkg/libdevfile/command.go @@ -33,8 +33,9 @@ func newCommand(devfileObj parser.DevfileObj, devfileCmd v1alpha2.Command) (comm case v1alpha2.CompositeCommandType: if util.SafeGetBool(devfileCmd.Composite.Parallel) { cmd = newParallelCompositeCommand(devfileObj, devfileCmd) + } else { + cmd = newCompositeCommand(devfileObj, devfileCmd) } - cmd = newCompositeCommand(devfileObj, devfileCmd) case v1alpha2.ExecCommandType: cmd = newExecCommand(devfileObj, devfileCmd)