Skip to content

Commit 038ebac

Browse files
committed
use lodash for if-check
1 parent 28cc1b0 commit 038ebac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class ServerlessStepFunctions {
168168
});
169169
}
170170

171-
if (stateMachineMessages === '') {
171+
if (_.isEmpty(stateMachineMessages)) {
172172
return '';
173173
}
174174

0 commit comments

Comments
 (0)