File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -109,17 +109,25 @@ class ServerlessPythonRequirements {
109
109
} ;
110
110
111
111
const before = ( ) => {
112
- if ( arguments [ 1 ] . functionObj && arguments [ 1 ] . functionObj . runtime && ! arguments [ 1 ] . functionObj . runtime . startsWith ( 'python' ) )
112
+ if (
113
+ arguments [ 1 ] . functionObj &&
114
+ arguments [ 1 ] . functionObj . runtime &&
115
+ ! arguments [ 1 ] . functionObj . runtime . startsWith ( 'python' )
116
+ )
113
117
return ;
114
118
return BbPromise . bind ( this )
115
119
. then ( pipfileToRequirements )
116
120
. then ( addVendorHelper )
117
121
. then ( installAllRequirements )
118
122
. then ( packRequirements ) ;
119
- }
123
+ } ;
120
124
121
125
const after = ( ) => {
122
- if ( arguments [ 1 ] . functionObj && arguments [ 1 ] . functionObj . runtime && ! arguments [ 1 ] . functionObj . runtime . startsWith ( 'python' ) )
126
+ if (
127
+ arguments [ 1 ] . functionObj &&
128
+ arguments [ 1 ] . functionObj . runtime &&
129
+ ! arguments [ 1 ] . functionObj . runtime . startsWith ( 'python' )
130
+ )
123
131
return ;
124
132
return BbPromise . bind ( this )
125
133
. then ( removeVendorHelper )
You can’t perform that action at this time.
0 commit comments