diff --git a/src/tekton/pipelinerun.ts b/src/tekton/pipelinerun.ts index aa66964a..748d3cbe 100644 --- a/src/tekton/pipelinerun.ts +++ b/src/tekton/pipelinerun.ts @@ -69,6 +69,7 @@ export class PipelineRun extends TektonItem { } static async showDiagram(item: TektonNode): Promise { + if (!item) return null; await showPipelineRunPreview(item.getName()); } }