Commit 4c7b7924 authored by Brett Walker's avatar Brett Walker

Fix typo in method name "silence_stderr"

parent 9ce28bf0
...@@ -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