mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Merge pull request #1065 from erikerikson/falsy-event-has-no-name-bugfix
Falsy event has no name attribute bugfix
This commit is contained in:
commit
6582955215
@ -188,7 +188,7 @@ class EventRemover extends S.classes.Plugin {
|
||||
}
|
||||
|
||||
_eventRemove(event, region) {
|
||||
if(!event) throw new SError(`Event could not be found: ${event.name}`);
|
||||
if(!event) throw new SError(`Event could not be found in region ${region}`);
|
||||
|
||||
let eventType = event.type.toLowerCase();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user