ManageIQ / bundler-inject

A bundler plugin that allows extension of a project with personal and overridden gems
Apache License 2.0
21 stars 8 forks source link

Fix issue where backup is deleted #19

Closed Fryguy closed 3 years ago

Fryguy commented 3 years ago

The restore step deletes the .bundler.d directory because it thinks it's the one created as part of the tests. However, if a failure occurs before the backup happens, then this is deleting the real .bundler.d directory. This fix prevents that from happening.

@kbrock Please review.