-
Notifications
You must be signed in to change notification settings - Fork 552
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
inject_into_file with pretend reports file unchanged #707
Comments
scambra
added a commit
to scambra/thor
that referenced
this issue
Jan 10, 2020
@scambra not sure if you're still interested in this - it looks good to me but there should be a spec to cover this behavior. |
yes, I'm still interested, I will look into specs whenever I can |
@dorner I have added a spec for inject_into_file with pretend |
rafaelfranca
added a commit
that referenced
this issue
Jun 8, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before this commit 25dc317 inject_into_file with pretend option was printing inject line, but now it complains about file didn't change.
The best way it would try to replace and return success, without writing file
The text was updated successfully, but these errors were encountered: