Skip to content

Commit b1a3025

Browse files
author
Chris Sullivan
committed
Checking for name property
1 parent 08249b0 commit b1a3025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/deploy/stepFunctions/compileStateMachines.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212
let DependsOn;
1313
let Name;
1414

15-
if (stateMachineObj.Name) {
15+
if (stateMachineObj.hasOwnProperty('Name')) {
1616
Name = stateMachineObj.Name;
1717
}
1818

0 commit comments

Comments
 (0)