[PATCH lkp-tests] lib/job.rb: delete input job key which is path

22 Dec
2020
22 Dec
'20
2:44 p.m.
Signed-off-by: Zhang Yu <2134782174@qq.com> --- lib/job.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/job.rb b/lib/job.rb index 2ed06edc6..7553312ed 100755 --- a/lib/job.rb +++ b/lib/job.rb @@ -254,6 +254,7 @@ class Job @overrides.merge!(hash['override']){ |_key, a, _b| a} hash.delete('override') end + hash.delete_if { |key, _| key.start_with?('#!') } hash.merge!(@overrides) @jobs.concat(multi_args(hash)) # return [hash] or [h1,h2] end -- 2.23.0
1580
Age (days ago)
1580
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zhang Yu