Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not use workflow #4

Closed
samhvw8 opened this issue May 10, 2020 · 2 comments
Closed

Can not use workflow #4

samhvw8 opened this issue May 10, 2020 · 2 comments
Assignees

Comments

@samhvw8
Copy link

samhvw8 commented May 10, 2020

Hi @jdno ,
I download workflow from release and Packal
when first run 'gitignore' i can only get 'Build a .gitignore file from templates'
i try some input but all get then same error

[23:36:28.834] ERROR: gitignore[Script Filter] Code 1: {"items":[{"subtitle":"Path to repository does not exist","title":"Error running gitignore workflow"}]}

@jdno jdno self-assigned this May 10, 2020
@jdno
Copy link
Owner

jdno commented May 10, 2020

Hi @samhvw8,

sorry to hear that! I fixed the issue in version 2.0.1, which you can download from GitHub now and a bit later from Packal. Should the issues persist for you, let me know please.

The cause of the issue was that while Alfred provides a path to their data directories to workflows, it does not create this directory for them. alfred-gitignore assumed that the directory would exist, and failed with the posted error if it doesn't. The new version doesn't expect the directory to exist, and instead creates it if it is missing.

Another lesson learned here is to reset the data directory when testing the workflow during development. 👍

Fixed by #5

@jdno jdno closed this as completed May 10, 2020
@jdno jdno added the bug label May 10, 2020
@samhvw8
Copy link
Author

samhvw8 commented May 11, 2020

Thank for your work 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants