coddingtonbear / taskwarrior-pomodoro

Simple OSX tray application allowing you to use Pomodoro techniques with Taskwarrior

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Illegal instruction when ~/.taskrc is missing

mike-kfed opened this issue · comments

When ~/.taskrc is not there:

mac:~ user$ /Applications/Taskwarrior\ Pomodoro.app/Contents/MacOS/Taskwarrior\ Pomodoro
Illegal instruction: 4

A nasty crash, checking if this file exists before trying to read it would be more stable. (Swift actually scares me here, because illegal instruction normally makes me think the binary was compiled for another cpu architecture not something harmless like "file does not exist")

Yeah, agreed -- that would be better. Could you file a pull request checking for that?