jiratotaskmanagers icon indicating copy to clipboard operation
jiratotaskmanagers copied to clipboard

Update ignore list and fixed call to Task Manager JXA

Open lars30 opened this issue 9 years ago • 0 comments

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.

lars30 avatar Aug 11 '15 05:08 lars30