Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
4c7b7924
Commit
4c7b7924
authored
Nov 29, 2018
by
Brett Walker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in method name "silence_stderr"
parent
9ce28bf0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/tasks/gettext.rake
lib/tasks/gettext.rake
+2
-2
No files found.
lib/tasks/gettext.rake
View file @
4c7b7924
...
...
@@ -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_s
dt
err
do
silence_s
td
err
do
Rake
::
Task
[
'gettext:find'
].
invoke
end
...
...
@@ -119,7 +119,7 @@ namespace :gettext do
end
end
def
silence_s
dt
err
(
&
block
)
def
silence_s
td
err
(
&
block
)
old_stderr
=
$stderr
.
dup
$stderr
.
reopen
(
File
::
NULL
)
$stderr
.
sync
=
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment