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

Avoid frozen string error in button helper #2592

Merged
merged 1 commit into from
Feb 22, 2018

Conversation

jhawthorn
Copy link
Contributor

@jhawthorn jhawthorn commented Feb 21, 2018

When button was passed an icon_name, which is deprecated but still prevalent in extensions, it would error with "can't modify frozen String".

This commit avoids the issue by using string interpolation instead.

When button was passed an icon_name, which is deprecated but still
prevalent, it would error with "can't modify frozen String".

This commit avoids that issue by using string interpolation instead.
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

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

Good catch

@kennyadsl kennyadsl merged commit bf7831f into solidusio:master Feb 22, 2018
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.

4 participants