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

Update createFileAndPaths function to work on Windows #140

Merged
merged 1 commit into from
Feb 25, 2022

Conversation

sashau
Copy link
Contributor

@sashau sashau commented Feb 25, 2022

I was having the same issue as this comment:
#39 (comment)

I tracked down the issue to the ___data___ directory (and subsequent json files) not being created on Windows systems. The createFileAndPaths function was trying to create the directory /C:\<webroot>/media/cached-resp-images/___data___/ which was failing because of the leading /.

This pull request updates the createFileAndPaths function to also work on Windows.

@netlify
Copy link

netlify bot commented Feb 25, 2022

✔️ Deploy Preview for j4-responsive-images ready!

🔨 Explore the source changes: 20989d4

🔍 Inspect the deploy log: https://app.netlify.com/sites/j4-responsive-images/deploys/62181f1895debc0007e7c79a

😎 Browse the preview: https://deploy-preview-140--j4-responsive-images.netlify.app

@dgrammatiko
Copy link
Member

LGTM

@dgrammatiko dgrammatiko merged commit adf2152 into ttc-freebies:4.0.0 Feb 25, 2022
@dgrammatiko
Copy link
Member

Thanks

@sashau
Copy link
Contributor Author

sashau commented Feb 25, 2022

Thank you for a fantastic extension. It works really great.

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

Successfully merging this pull request may close these issues.

2 participants