We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The action doesn't work. Give an error about an Invalid URL. No stack trace nothing.
I expect the Action to purge all images in the README
It gives error
purging: https://github.com/jcubic/velvet/blob/master/README.md Error: TypeError [ERR_INVALID_URL]: Invalid URL Error: Invalid URL
https://github.com/jcubic/velvet
The issue is that README can contain normal noncached images added with HTML. Only Markdown images are cached.
So there is a need to check if img.attribs['data-canonical-src'] exists otherwise PURGE HTTP request with throw an error.
img.attribs['data-canonical-src']
The text was updated successfully, but these errors were encountered:
Fix wrong PURGE URL wow-actions#1
52a5eb3
No branches or pull requests
The action doesn't work. Give an error about an Invalid URL. No stack trace nothing.
Expected Behavior
I expect the Action to purge all images in the README
Current Behavior
It gives error
Link to repo
https://github.com/jcubic/velvet
Possible solution
The issue is that README can contain normal noncached images added with HTML. Only Markdown images are cached.
So there is a need to check if
img.attribs['data-canonical-src']
exists otherwise PURGE HTTP request with throw an error.The text was updated successfully, but these errors were encountered: