bundle exec rspec
bundle exec rubocop -a
only do a full reset when paths is nil, so no accidental full-resets can occur when accidentally specifying an empty array
only do a full reset when paths is nil
so no accidental full-resets can occur when accidentally specifying an empty array
While the behavior you're going for seems reasonable to me, the change alters existing behavior that some people may be depending on.
Can you say more about why you think this is important? We should try not to alter existing behavior that people may be using unless absolutely necessary 👍
I added a glob to the files option, which didn't match any files, and as a result the version change in the xcode project was reverted too..
reset_git_repo files: Dir['ios/**/AppIcon.appiconset/*.png']
Cool, thanks for the example use-case. Your approach was reasonable, and the results were surprising (and destructive) so, let's do it.
Thanks for the contribution 👍
Great change 👍