Skip to content

Commit 8c79790

Browse files
committed
anticipate that display variable may be unset
1 parent a711fd9 commit 8c79790

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/arduino_ci.rb

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def initialize
3737
# attempt to determine if the machine is running a graphical display (i.e. not Travis)
3838
def existing_display?
3939
return true if RUBY_PLATFORM.include? "darwin"
40+
return true if ENV["DISPLAY"].nil?
4041
return true if ENV["DISPLAY"].include? ":"
4142
false
4243
end

0 commit comments

Comments
 (0)