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

Commit

Permalink
Remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed May 8, 2019
1 parent 36a1319 commit 40cfceb
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 @@ -32,7 +32,7 @@ def gem_skeleton_assertions(gem_name)
end

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

Expand Down

0 comments on commit 40cfceb

Please sign in to comment.