Skip to content

Commit a04d518

Browse files
committed
demo
1 parent 22dffb7 commit a04d518

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Diff for: lib/arduino_ci/display_manager.rb

+1-5
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,7 @@ def initialize
3333
# attempt to determine if the machine is running a graphical display (i.e. not Travis)
3434
# @return [bool] whether there is already a GUI that can accept windows
3535
def existing_display?
36-
return true if RUBY_PLATFORM.include? "darwin"
37-
return true if Host.os == :windows
38-
return false if ENV["DISPLAY"].nil?
39-
return true if ENV["DISPLAY"].include? ":"
40-
false
36+
true
4137
end
4238

4339
# check whether a process is alive

0 commit comments

Comments
 (0)