mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
test runner: avoid implicit conversion from nil to String
This commit is contained in:
parent
dadd071f64
commit
4a92b442dd
@ -76,7 +76,7 @@ class SimpleTest
|
|||||||
end
|
end
|
||||||
|
|
||||||
def clean_tmp
|
def clean_tmp
|
||||||
File.unlink(@tmp) if File.exists?(@tmp) && (ENV["KEEP_TMPFILES"] != "1")
|
File.unlink(@tmp) if @tmp && File.exists?(@tmp) && !ENV["KEEP_TMPFILES"].nil? && (ENV["KEEP_TMPFILES"] != "1")
|
||||||
@tmp = nil
|
@tmp = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user