Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Revert "Remove unnecessary check"
Browse files Browse the repository at this point in the history
This reverts commit c79adef.
  • Loading branch information
deivid-rodriguez committed May 8, 2019
1 parent 181bab7 commit 9802616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/commands/newgem_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def gem_skeleton_assertions(gem_name)
end

after do
FileUtils.rm(ENV["GIT_CONFIG"])
FileUtils.rm(ENV["GIT_CONFIG"]) if File.exist?(ENV["GIT_CONFIG"])
ENV["GIT_CONFIG"] = @git_config_location
end

Expand Down

0 comments on commit 9802616

Please sign in to comment.