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

Always remove force from options hash #21

Merged
merged 1 commit into from May 25, 2014

Conversation

felixbuenemann
Copy link
Contributor

This avoids force="true" on the script tags if force: true is set outside of OFFLINE environments.

@kenn
Copy link
Owner

kenn commented May 24, 2014

Can you just change:

if OFFLINE and !options.delete(:force)

to

if !options.delete(:force) and OFFLINE

?

This avoids force="true" on the script tags if force: true is set outside
of OFFLINE environments.
@felixbuenemann
Copy link
Contributor Author

Yep, pushed a new commit.

kenn added a commit that referenced this pull request May 25, 2014
Always remove force from options hash
@kenn kenn merged commit 585abcd into kenn:master May 25, 2014
@kenn
Copy link
Owner

kenn commented May 25, 2014

Just released as 1.0.3 - thanks!

@felixbuenemann
Copy link
Contributor Author

Thanks, Kenn!

@felixbuenemann felixbuenemann deleted the fix-force-option branch May 26, 2014 09:09
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