diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-03-01 17:38:44 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-03-06 21:43:20 +0900 |
commit | 3a5cb44f65ac2329e1119ddf01f15bf72ac86765 (patch) | |
tree | 41753f6443f2281374aadca29b7cad18401712ce /lib | |
parent | 583b49f08e5799508d5ebdf7e6f6ccbbe0a0d0bf (diff) | |
download | gitlab-ce-3a5cb44f65ac2329e1119ddf01f15bf72ac86765.tar.gz |
Fix static analysys
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/trace.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/ci/trace.rb b/lib/gitlab/ci/trace.rb index 98481f3580a..256cd2c5e4a 100644 --- a/lib/gitlab/ci/trace.rb +++ b/lib/gitlab/ci/trace.rb @@ -125,6 +125,7 @@ module Gitlab FileUtils.touch(temp_path) size = IO.copy_stream(src_stream, temp_path) raise 'Not all saved' unless size == src_stream.size + yield(temp_path) end end |