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

Fix crash when compiling extensionless binary items #525

Merged
merged 1 commit into from Jan 31, 2015

Conversation

denisdefreyne
Copy link
Member

Fix for #524.

@@ -130,7 +130,7 @@ def array_to_yaml(array)
item.identifier.chop + '.css'
elsif item.binary?
# Write item with identifier /foo/ to /foo.ext
item.identifier.chop + '.' + item[:extension]
item.identifier.chop + '.' + (item[:extension] ? '.' + item[:extension] : '')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two dots?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, doh. That’s clearly wrong.

(Must have been my lack of coffee.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@mpapis
Copy link
Member

mpapis commented Jan 31, 2015

looks good 👍

@denisdefreyne denisdefreyne force-pushed the fix-extensionless-binary-items-crash branch from 464dc5f to 12b6e8e Compare January 31, 2015 13:30
denisdefreyne added a commit that referenced this pull request Jan 31, 2015
Fix crash when compiling extensionless binary items
@denisdefreyne denisdefreyne merged commit 4db567c into release-3.7.x Jan 31, 2015
@denisdefreyne denisdefreyne deleted the fix-extensionless-binary-items-crash branch January 31, 2015 13:30
@denisdefreyne denisdefreyne added this to the 3.7.6 milestone Apr 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants