Skip to content

Commit 7740d57

Browse files
committed
wrap the display manager command runner
1 parent 7119806 commit 7740d57

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/arduino_ci/arduino_cmd.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ def initialize(installation)
2626
@installation = installation
2727
end
2828

29+
# run the arduino command
2930
def run(*args)
3031
full_args = [@installation.cmd_path] + args
31-
full_cmd = [@display_mgr.environment] + full_args
32-
puts "Running #{@display_mgr.environment} $ #{full_args.join(' ')}"
33-
system(*full_cmd)
32+
@display_mgr.run(*full_args)
3433
end
3534

3635
def board_installed?(board)

0 commit comments

Comments
 (0)