summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorBrett Walker <bwalker@gitlab.com>2018-11-29 20:00:04 -0600
committerBrett Walker <bwalker@gitlab.com>2018-11-29 20:04:25 -0600
commit4c7b7924b380d9c62e0368f33da1503fb025f008 (patch)
tree92d5128c59642f4a6c542f0ffdb6fdf629cc6da0 /lib/tasks
parent9ce28bf08b7112bd80f97d9db749cffa5e034c5c (diff)
downloadgitlab-ce-4c7b7924b380d9c62e0368f33da1503fb025f008.tar.gz
Fix typo in method name "silence_stderr"
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gettext.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/gettext.rake b/lib/tasks/gettext.rake
index a497d26312e..2235a6ba194 100644
--- a/lib/tasks/gettext.rake
+++ b/lib/tasks/gettext.rake
@@ -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