Fix typo in method name "silence_stderr"

This commit is contained in:
Brett Walker 2018-11-29 20:00:04 -06:00
parent 9ce28bf08b
commit 4c7b7924b3
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ namespace :gettext do
# `gettext:find` writes touches to temp files to `stderr` which would cause
# `static-analysis` to report failures. We can ignore these.
silence_sdterr do
silence_stderr do
Rake::Task['gettext:find'].invoke
end
@ -119,7 +119,7 @@ namespace :gettext do
end
end
def silence_sdterr(&block)
def silence_stderr(&block)
old_stderr = $stderr.dup
$stderr.reopen(File::NULL)
$stderr.sync = true