Skip to content

Commit

Permalink
Return promise from subscribe()
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdale committed May 1, 2016
1 parent f2f855a commit f2951ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class S3Notifier {
subscribe(notify) {
this.notify = notify;

this.getCurrentLastModified()
return this.getCurrentLastModified()
.then(() => this.schedulePoll());
}

Expand Down

0 comments on commit f2951ce

Please sign in to comment.