Skip to content

Commit 1b803eb

Browse files
committed
xo
1 parent f39bbc1 commit 1b803eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/utils/create-activity.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = function ({context = {}, activityName, workerName, stateMachine
3030
}).promise().then(data => {
3131
context.activityArn = data.activityArn;
3232
context.workerName = workerName;
33-
}).then(function () {
33+
}).then(() => {
3434
const params = {
3535
definition: JSON.stringify(stateMachineDefinition({activityArn: context.activityArn})), /* Required */
3636
name: stateMachineName, /* Required */
@@ -40,6 +40,6 @@ module.exports = function ({context = {}, activityName, workerName, stateMachine
4040
}).then(data => {
4141
context.stateMachineArn = data.stateMachineArn;
4242
}).then(() => {
43-
return context
43+
return context;
4444
});
4545
};

0 commit comments

Comments
 (0)