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

Output says file is modified when it was not #23

Open
dinjas opened this issue Jan 18, 2020 · 0 comments
Open

Output says file is modified when it was not #23

dinjas opened this issue Jan 18, 2020 · 0 comments

Comments

@dinjas
Copy link

dinjas commented Jan 18, 2020

Sometimes, when the gem is dealing with a situation such as the one addressed in the fix for #20, the gem states that a file is being modified but the file ends up being unchanged.

This is specifically an issue when the prior two-newline issue would have previously occurred. Now, the newline issue is addressed, but the gem still claims the file is modified.

➜  git:(development) ✗ rake cleanup:jumpstart
Running via Spring preloader in process 7838
Starting cleanup:jumpstart
./spec/models/a_model_spec.rb modified.
./spec/lib/includers/a_lib_spec.rb modified.
Finishing cleanup:jumpstart
➜  git:(development) ✗ git status spec
On branch development
Your branch is up to date with 'origin/development'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   spec/models/a_model_spec.rb
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

No branches or pull requests

1 participant