Skip to content

Commit 4e16822

Browse files
committed
report success or failure of command run by DisplayManager
1 parent 064a888 commit 4e16822

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/arduino_ci/display_manager.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ def run(*args, **kwargs)
151151
shell_vars = env_vars.map { |k, v| "#{k}=#{v}" }.join(" ")
152152
puts " $ #{shell_vars} #{actual_args.join(' ')}"
153153
ret = system(*full_cmd, **kwargs)
154-
puts "#{actual_args[0]} has completed"
154+
status = ret ? "succeeded" : "failed"
155+
puts "#{actual_args[0]} has #{status}"
155156
end
156157
ret
157158
end

0 commit comments

Comments
 (0)