From 198da19e1366fe363fa3656ebec6f9995820c045 Mon Sep 17 00:00:00 2001 From: abetomo Date: Tue, 24 Jul 2018 23:03:42 +0900 Subject: [PATCH] Bugfix of initialValue of recude in s3events --- lib/s3_events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/s3_events.js b/lib/s3_events.js index 69950600..ac7ff85f 100644 --- a/lib/s3_events.js +++ b/lib/s3_events.js @@ -98,7 +98,7 @@ class S3Events { return this._putBucketNotificationConfiguration(putBucketNotificationConfigurationParams) }).reduce((a, b) => { return a.then(b) - }) + }, Promise.resolve({})) }) } }