lib/snapshot/test_command_generator.rb in snapshot-1.9.0 vs lib/snapshot/test_command_generator.rb in snapshot-1.10.0
- old
+ new
@@ -86,10 +86,10 @@
return File.join(containing, file_name)
end
def derived_data_path
- "/tmp/snapshot_derived/"
+ Snapshot.cache[:derived_data_path] ||= Dir.mktmpdir("snapshot_derived")
end
end
end
end