We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 155ca1d commit acd4edaCopy full SHA for acd4eda
lib/arduino_ci/display_manager.rb
@@ -33,11 +33,7 @@ def initialize
33
# attempt to determine if the machine is running a graphical display (i.e. not Travis)
34
# @return [bool] whether there is already a GUI that can accept windows
35
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
+ true
41
end
42
43
# check whether a process is alive
0 commit comments