File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -16,19 +16,14 @@ module.exports = {
16
16
. then ( ( serverlessFileParam ) => {
17
17
this . serverless . variables . populateObject ( serverlessFileParam ) . then ( ( parsedObject ) => {
18
18
this . serverless . service . stepFunctions = { } ;
19
- try {
20
- this . serverless . service . stepFunctions . stateMachines
19
+ this . serverless . service . stepFunctions . stateMachines
21
20
= parsedObject . stepFunctions
22
21
&& parsedObject . stepFunctions . stateMachines
23
22
? parsedObject . stepFunctions . stateMachines : { } ;
24
- this . serverless . service . stepFunctions . activities
23
+ this . serverless . service . stepFunctions . activities
25
24
= parsedObject . stepFunctions
26
25
&& parsedObject . stepFunctions . activities
27
26
? parsedObject . stepFunctions . activities : [ ] ;
28
- } catch ( e ) {
29
- throw new this . serverless . classes
30
- . Error ( 'stateMachine or activity not found in this Service' ) ;
31
- }
32
27
33
28
if ( ! this . serverless . pluginManager . cliOptions . stage ) {
34
29
this . serverless . pluginManager . cliOptions . stage = this . options . stage
You can’t perform that action at this time.
0 commit comments