File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff 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 /**
You can’t perform that action at this time.
0 commit comments