We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63be6c8 commit e1fe15eCopy full SHA for e1fe15e
1 file changed
lib/capybara/screenshot/diff/vcs.rb
@@ -9,7 +9,7 @@ module Diff
9
module Vcs
10
def self.checkout_vcs(root, screenshot_path, checkout_path)
11
root_path = root.to_s
12
- git_env = { "GIT_DIR" => nil, "GIT_WORK_TREE" => nil, "GIT_INDEX_FILE" => nil }
+ git_env = {"GIT_DIR" => nil, "GIT_WORK_TREE" => nil, "GIT_INDEX_FILE" => nil}
13
git_root, _, status = Open3.capture3(git_env, "git", "-C", root_path, "rev-parse", "--show-toplevel")
14
return false unless status.success?
15
0 commit comments