hackerdude / jiratotaskmanagers

Syncs JIRA queries to apps like Omnifocus, Things and Reminders
86 stars 21 forks source link

Update ignore list and fixed call to Task Manager JXA #4

Open lars30 opened 9 years ago

lars30 commented 9 years ago

Moving jira_to_jxa_app.rb into a subdirectory was causing the call to the task manager to fail with this message.

Error - No such file or directory - /Users/xxx/xxx/jiratotaskmanagers/lib/task_sources/jira/task_destinations/add_to_omnifocus.jxa

Adding '../../' fixed it.

Two other improvements I didn't make but would consider:

  1. There may be a way to set the file location to the project root (so you can move it again without breaking the call to the task manager specific JXA). I'm not sure how to do this one.
  2. Looking at this commit I'd probably want to change the variable name from 'things_jxa' to 'taskmanager_jxa' to make it clearer. I'm using omnifocus and that variable name gave me pause. If you'd like I can clean that up and do give you another pull request.

The .gitignore addition was just for the rvm dotfiles I used.