Skip to content

Commit 8a73656

Browse files
committed
feat: make server transmission optional
1 parent d2935f3 commit 8a73656

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

minitest/golf_plugin.rb

+5-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ def report
7979
end
8080
end
8181

82-
print "Sending data to server... "; STDOUT.flush
83-
send_data
84-
puts " done."
82+
if ENV['SEND_DATA'] == "true"
83+
print "Sending data to server... "; STDOUT.flush
84+
send_data
85+
puts " done."
86+
end
8587
end
8688

8789
def send_data

0 commit comments

Comments
 (0)