diff options
author | gfyoung <gfyoung17+gitlab@gmail.com> | 2018-10-22 07:00:50 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-10-22 07:00:50 +0000 |
commit | c858f70d076dc44f6bf1ab1f7acb1fc13a12ab1b (patch) | |
tree | 40fa82826cf182f47b1c905e738c8ee955ad14c2 /lib/backup | |
parent | 173b1436b1622b85d4a81e3577c6492cbb93a8b8 (diff) | |
download | gitlab-ce-c858f70d076dc44f6bf1ab1f7acb1fc13a12ab1b.tar.gz |
Enable frozen string for lib/gitlab/*.rb
Diffstat (limited to 'lib/backup')
-rw-r--r-- | lib/backup/manager.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backup/manager.rb b/lib/backup/manager.rb index afdc6f383c1..a0434a66ef1 100644 --- a/lib/backup/manager.rb +++ b/lib/backup/manager.rb @@ -164,7 +164,7 @@ module Backup def tar_version tar_version, _ = Gitlab::Popen.popen(%w(tar --version)) - tar_version.force_encoding('locale').split("\n").first + tar_version.dup.force_encoding('locale').split("\n").first end def skipped?(item) |