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 c020a02 commit 24a851fCopy full SHA for 24a851f
spec/overcommit/hook/pre_commit/line_endings_spec.rb
@@ -24,7 +24,7 @@
24
around do |example|
25
repo do
26
File.open(staged_file, 'w') { |f| f.write(contents) }
27
- `git add #{staged_file}`
+ `git add #{staged_file} > #{File::NULL} 2>&1`
28
example.run
29
end
30
0 commit comments