Skip to content

Commit c3237b0

Browse files
committed
hail mary logging
1 parent 7e58049 commit c3237b0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/arduino_ci/display_manager.rb

+6-2
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,13 @@ def run(*args, **kwargs)
134134
actual_args = has_env ? args[1..-1] : args # need to shift over if we extracted args
135135
full_cmd = env_vars.empty? ? actual_args : [env_vars] + actual_args
136136

137-
puts "Running #{env_vars} $ #{args.join(' ')}"
137+
puts "Running #{env_vars} $ #{actual_args.join(' ')}"
138+
puts "Full_cmd is #{full_cmd}"
139+
puts "kwargs is #{kwargs}"
138140
ret = system(*full_cmd, **kwargs)
141+
puts "system call to #{actual_args[0]} has completed"
139142
end
143+
puts "with_display has completed"
140144
ret
141145
end
142146

@@ -147,7 +151,7 @@ def run_silent(*args)
147151

148152
def environment
149153
return nil unless @existing || @enabled
150-
return {} if @existing
154+
return { "EXISTING_DISPLAY" => "YES" } if @existing
151155
{ "DISPLAY" => DESIRED_DISPLAY }
152156
end
153157

0 commit comments

Comments
 (0)