Commit 42e9daf2 authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'fj-33693-remove-system-silent-method' into 'master'

Remove `Gitlab::Utils.system_silent` method

Closes #33693

See merge request gitlab-org/gitlab!18321
parents 4c41fe4b ebb839a9
......@@ -13,14 +13,6 @@ module Gitlab
path
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)
str.dup.force_encoding(Encoding::UTF_8)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment