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

Moved the cache-check to below the super, as the SHA is not yet known #266

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hkolk
Copy link

@hkolk hkolk commented Oct 20, 2014

We had an issue at work where gzip failed because the file was already there. The cause for this issue was that the vendor_cached? was checking without the sha in the file.

By moving the cache-call below the super call, we will know the sha and therefor can do the correct check.

@hkolk
Copy link
Author

hkolk commented Oct 21, 2014

Let me know by the way if I missed a test-case or something alike. The original patch is something I just hacked together locally with a lot of print statements :)

@carlossg
Copy link
Collaborator

carlossg commented Nov 3, 2014

could you add a test under features/ to reproduce and ensure it doesn't happen again?

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.

None yet

2 participants