Skip to content

Commit

Permalink
log when we do this
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Nov 15, 2022
1 parent 8858159 commit 0641ba0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gardening.omnifocusjs/Resources/pick.js
Expand Up @@ -51,6 +51,7 @@
let lastCheck = this.pref.readDate(this.prefKey);
if (lastCheck &&
hoursBetween(lastCheck, new Date()) < this.onlyEveryHours) {
console.log("checked email too recently; skipping!");
return null;
}
return 5;
Expand Down
1 change: 1 addition & 0 deletions Gardening.omnifocusjs/Resources/pick.ts
Expand Up @@ -74,6 +74,7 @@
lastCheck &&
hoursBetween(lastCheck, new Date()) < this.onlyEveryHours
) {
console.log("checked email too recently; skipping!");
return null;
}

Expand Down

0 comments on commit 0641ba0

Please sign in to comment.