Skip to content

Commit e3dd28d

Browse files
committed
chore: formatting
1 parent 10ebb9e commit e3dd28d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

index.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,17 @@ class ServerlessStepFunctionsLocal {
104104
}
105105

106106
async getStepFunctionsFromConfigurationInput() {
107-
108107
this.stateMachines = this.stateMachineCFARNResolver(this.serverless.configurationInput.stepFunctions.stateMachines);
109108

110109
if (this.serverless.configurationInput.custom
111110
&& this.serverless.configurationInput.custom.stepFunctionsLocal
112-
&& this.serverless.configurationInput.custom.stepFunctionsLocal.TaskResourceMapping) {
113-
this.replaceTaskResourceMappings(this.serverless.configurationInput.stepFunctions.stateMachines, this.serverless.configurationInput.custom.stepFunctionsLocal.TaskResourceMapping);
111+
&& this.serverless.configurationInput.custom.stepFunctionsLocal.TaskResourceMapping
112+
) {
113+
this.replaceTaskResourceMappings(
114+
this.serverless.configurationInput.stepFunctions.stateMachines,
115+
this.serverless.configurationInput.custom.stepFunctionsLocal.TaskResourceMapping
116+
);
114117
}
115-
116118
}
117119

118120
/**

0 commit comments

Comments
 (0)