Fixing eslint issues

This commit is contained in:
Jonathan Putney
2019-11-12 11:26:56 -05:00
parent 9e8896fa32
commit 08737afe1a
3 changed files with 21 additions and 11 deletions

View File

@@ -729,7 +729,7 @@ class ScheduledCommit {
*/
constructor(API: any, when: number) {
this.#API = API;
this.#timeout = setTimeout(this.#wrapper, when);
this.#timeout = setTimeout(this.wrapper, when);
}
/**
@@ -745,7 +745,7 @@ class ScheduledCommit {
/**
* Wrap the API commit call to check if the call has already been cancelled
*/
#wrapper() {
wrapper() {
if (!this.#cancelled) {
this.#API.commit();
}