-
Notifications
You must be signed in to change notification settings - Fork 83
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
awaiting svgexport.render
resolves before output file is added to filesystem
#97
Comments
edit: nvm, 👇 error is just because
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to make a script to auto-generate icon files and send them to the right spots. This is what I have so far
However, I am having trouble diagnosing a bug in my code. Whenever I add a new size to
TARGETS
, the first time I run this script I getBut normally after running my script a second time it works without a hitch. I suspect the bug comes from
svgexport.render
resolving BEFORE the files have been moved to their output locations. ThenmoveFiles
runs before the file exists, and thus the error. This would also explain why often times running it a second time works.My question: Is this a bug in this library, or is there something I can do to my code to fix it?
Thanks
The text was updated successfully, but these errors were encountered: