Skip to content

Commit f2951ce

Browse files
committed
Return promise from subscribe()
1 parent f2f855a commit f2951ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class S3Notifier {
2424
subscribe(notify) {
2525
this.notify = notify;
2626

27-
this.getCurrentLastModified()
27+
return this.getCurrentLastModified()
2828
.then(() => this.schedulePoll());
2929
}
3030

0 commit comments

Comments
 (0)