diff options
| author | Paul Buetow <paul@buetow.org> | 2025-05-21 16:26:51 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-05-21 16:26:51 +0300 |
| commit | d26dbfb69713af26fbd2e56549f8ea8aa36b1f41 (patch) | |
| tree | 09c597191952dc274964e22996e4573f63d57303 | |
| parent | 52b9895d9c1794fd392ab99bfe60a0fa6d26dd41 (diff) | |
Update
| -rw-r--r-- | dotfiles/scripts/taskwarriorfeeder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/scripts/taskwarriorfeeder.rb b/dotfiles/scripts/taskwarriorfeeder.rb index 5ec3860..79cd51f 100644 --- a/dotfiles/scripts/taskwarriorfeeder.rb +++ b/dotfiles/scripts/taskwarriorfeeder.rb @@ -132,7 +132,7 @@ end def unscheduled_tasks lines = `task -lowhigh -unsched -nosched -notes -note -meeting -track due: 2>/dev/null`.split("\n").drop(1) lines.pop - lines.map { _1.split.first }.each do |id| + lines.map { |foo| foo.split.first }.each do |id| yield id if id.to_i.positive? end end |
