-
Notifications
You must be signed in to change notification settings - Fork 3
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
usedImages
May be Empty When Using Windows
#9
Comments
Hey, do you have any solution for that? |
I'll take a look soon. Haven't used this package (or gulp) in a number of years. |
Thank you, I'm looking forward to it! |
So I can replace '/' with path.sep and the deletion of files will work on Widows? |
I ultimately didn't use this plugin because I also ran in to #10, so I don't have a working project using |
I haven't had the time to spin up a new project. I tried adding some basic unit tests to the repo. But I have no idea how to test gulp. The idea was to use the tests to assert these use cases and to modify the source against the tests. |
Cramp replacement |
Okay, looks like it works like this on Windows: |
My reference to
It's unlikely since |
The use of
'/'
with_().split()
doesn't always split file paths properly on Windows. This results inusedImages
being empty and all images being deleted. I believe usingpath.sep
would be better.The text was updated successfully, but these errors were encountered: