From 1d690d692822fa8b2d208204f958c1c295012091 Mon Sep 17 00:00:00 2001 From: AlexChen Date: Tue, 28 Apr 2020 14:53:13 +0800 Subject: [PATCH] [bugfix] check_upstream: using the method 'push' instead of 'append' to append the object onto the array --- check_upstream.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_upstream.rb b/check_upstream.rb index 707a739e..fb034895 100755 --- a/check_upstream.rb +++ b/check_upstream.rb @@ -44,7 +44,7 @@ end def clean_tags(tags) new_tags = [] tags.each{|line| - new_tags = new_tags.append clean_tag(line, Prj_info) + new_tags = new_tags.push(clean_tag(line, Prj_info)) } return new_tags end -- Gitee