diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-29 23:54:44 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-29 23:54:44 +0300 |
| commit | f902d6879eb19840987d85ef76e84a23f3c5b6d3 (patch) | |
| tree | 747e2ec20be262901a940ea6eb86e7c7bde9c732 | |
| parent | f6c47ca375d3408d0468567f9a7793ee0285bbc9 (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 79572af..ac513f5 100644 --- a/dotfiles/scripts/taskwarriorfeeder.rb +++ b/dotfiles/scripts/taskwarriorfeeder.rb @@ -179,7 +179,7 @@ begin end unless opts[:no_random] - if File.exist(core_habits_md_file) + if File.exist?(core_habits_md_file) random_quote(core_habits_md_file) do |tags, quote, due| task_add!(tags, quote, due, opts[:dry_run]) end |
