Commit 4e85011f authored by Sean McGivern's avatar Sean McGivern

Merge branch 'bw-fix-silence-stderr-typo' into 'master'

Fix typo in method name "silence_stderr"

See merge request gitlab-org/gitlab-ce!23468
parents 817bb190 4c7b7924
...@@ -82,7 +82,7 @@ namespace :gettext do ...@@ -82,7 +82,7 @@ namespace :gettext do
# `gettext:find` writes touches to temp files to `stderr` which would cause # `gettext:find` writes touches to temp files to `stderr` which would cause
# `static-analysis` to report failures. We can ignore these. # `static-analysis` to report failures. We can ignore these.
silence_sdterr do silence_stderr do
Rake::Task['gettext:find'].invoke Rake::Task['gettext:find'].invoke
end end
...@@ -119,7 +119,7 @@ namespace :gettext do ...@@ -119,7 +119,7 @@ namespace :gettext do
end end
end end
def silence_sdterr(&block) def silence_stderr(&block)
old_stderr = $stderr.dup old_stderr = $stderr.dup
$stderr.reopen(File::NULL) $stderr.reopen(File::NULL)
$stderr.sync = true $stderr.sync = true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment