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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
ebb839a9
Commit
ebb839a9
authored
Oct 10, 2019
by
Francisco Javier López
Committed by
Jan Provaznik
Oct 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove `Gitlab::Utils.system_silent` method
parent
4c41fe4b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
lib/gitlab/utils.rb
lib/gitlab/utils.rb
+0
-8
No files found.
lib/gitlab/utils.rb
View file @
ebb839a9
...
@@ -13,14 +13,6 @@ module Gitlab
...
@@ -13,14 +13,6 @@ module Gitlab
path
path
end
end
# Run system command without outputting to stdout.
#
# @param cmd [Array<String>]
# @return [Boolean]
def
system_silent
(
cmd
)
Popen
.
popen
(
cmd
).
last
.
zero?
end
def
force_utf8
(
str
)
def
force_utf8
(
str
)
str
.
dup
.
force_encoding
(
Encoding
::
UTF_8
)
str
.
dup
.
force_encoding
(
Encoding
::
UTF_8
)
end
end
...
...
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