lib/knapsack_pro/tracker.rb in knapsack_pro-3.6.0 vs lib/knapsack_pro/tracker.rb in knapsack_pro-3.7.0
- old
+ new
@@ -44,10 +44,11 @@
execution_time
end
def current_test_path
- raise("current_test_path needs to be set by Knapsack Pro Adapter's bind method") unless @current_test_path
+ return unless @current_test_path
+
KnapsackPro::TestFileCleaner.clean(@current_test_path)
end
def set_prerun_tests(test_file_paths)
test_file_paths.each do |test_file_path|