提交 4c7b7924 编写于 作者: B Brett Walker

Fix typo in method name "silence_stderr"

上级 9ce28bf0
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册