lightning-flow-scanner-core
Advanced tools
Comparing version 1.0.19 to 1.0.20
@@ -69,3 +69,3 @@ "use strict"; | ||
let type; | ||
if (this.xmldata.start[0].triggerType) { | ||
if (this.xmldata.start && this.xmldata.start[0].triggerType) { | ||
type = 'Trigger:' + this.xmldata.start[0].triggerType; | ||
@@ -72,0 +72,0 @@ } |
{ | ||
"name": "lightning-flow-scanner-core", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"main": "out/**", | ||
@@ -5,0 +5,0 @@ "types": "out/index.d.ts", |
@@ -97,5 +97,6 @@ import {FlowElement} from './FlowElement'; | ||
let type; | ||
if (this.xmldata.start[0].triggerType) { | ||
if (this.xmldata.start && this.xmldata.start[0].triggerType) { | ||
type = 'Trigger:' + this.xmldata.start[0].triggerType; | ||
} else { | ||
} | ||
else { | ||
type = this.xmldata.processType[0] === 'Flow' ? 'Visual Flow' : this.xmldata.processType; | ||
@@ -102,0 +103,0 @@ } |
Sorry, the diff of this file is not supported yet
739539
28732