diff --git a/pkg/jobparser/model.go b/pkg/jobparser/model.go index 8e1d7bd..4cbdc6d 100644 --- a/pkg/jobparser/model.go +++ b/pkg/jobparser/model.go @@ -143,6 +143,9 @@ type Step struct { // String gets the name of step func (s *Step) String() string { + if s == nil { + return "" + } return (&model.Step{ ID: s.ID, Name: s.Name,