File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class WarmUp {
56
56
}
57
57
58
58
await this . createWarmUpFunctionArtifact ( this . functionsToWarmup , this . resolvedOptions . region , this . warmupOpts . pathFile )
59
- await this . addWarmUpFunctionToService ( )
59
+ this . addWarmUpFunctionToService ( )
60
60
}
61
61
62
62
/**
@@ -307,8 +307,6 @@ module.exports.warmUp = async (event, context) => {
307
307
308
308
/**
309
309
* @description Add warm up function to service
310
- *
311
- * @return {Object } Warm up service function object
312
310
* */
313
311
addWarmUpFunctionToService ( ) {
314
312
/** SLS warm up function */
@@ -331,8 +329,6 @@ module.exports.warmUp = async (event, context) => {
331
329
this . warmupOpts . tags ? { tags : this . warmupOpts . tags } : { } ,
332
330
this . warmupOpts . vpc ? { vpc : this . warmupOpts . vpc } : { }
333
331
)
334
-
335
- return this . serverless . service . functions . warmUpPlugin
336
332
}
337
333
338
334
/**
You can’t perform that action at this time.
0 commit comments