Skip to content

Commit

Permalink
Add taskSpec check to account for custom tasks without a taskSpec (ku…
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbutlerbb4 authored May 4, 2021
1 parent 8b289ce commit de00cca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/lib/StaticGraphParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ function buildTektonDag(graph: dagre.graphlib.Graph, template: any): void {

// Checks if the task is an any-sequencer and if so, adds the dependencies from the task list
if (
task['taskSpec'] &&
task['taskSpec']['steps'] &&
task['taskSpec']['steps'][0] &&
task['taskSpec']['steps'][0]['args'] &&
Expand Down

0 comments on commit de00cca

Please sign in to comment.