Skip to content

Commit

Permalink
log when skipping tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Feb 6, 2023
1 parent 9f007c1 commit 5193021
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Picker.omnifocusjs/Resources/pick.js
Expand Up @@ -37,6 +37,7 @@
// start with weights from tags
let weight = this.tagWeightsForTask(task);
if (!weight) {
console.log(`skipping ${task.name} because no tags matched.`);
continue;
}
// tasks that are closer to their due date should be weighted higher, up
Expand Down
1 change: 1 addition & 0 deletions Picker.omnifocusjs/Resources/pick.ts
Expand Up @@ -59,6 +59,7 @@
// start with weights from tags
let weight = this.tagWeightsForTask(task);
if (!weight) {
console.log(`skipping ${task.name} because no tags matched.`);
continue;
}

Expand Down

0 comments on commit 5193021

Please sign in to comment.