mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31: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
|
||||
|
||||
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
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user