Skip to content

Commit 6d7cd67

Browse files
committed
fixup symlink
1 parent 6a9490b commit 6d7cd67

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/arduino_ci/host.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,8 @@ def self.symlink(old_path, new_path)
5151
orp = old_path.realpath.to_s.tr("/", "\\") # HACK DUE TO REALPATH BUG where it
5252
np = new_path.to_s.tr("/", "\\") # still joins windows paths with '/'
5353

54-
stdout, stderr, exitstatus = Open3.capture3('cmd.exe', "/C mklink /D #{np} #{orp}")
55-
STDERR.puts stdout
56-
STDERR.puts stderr
57-
exitstatus
54+
_stdout, _stderr, exitstatus = Open3.capture3('cmd.exe', "/C mklink /D #{np} #{orp}")
55+
exitstatus.success?
5856
end
5957
end
6058
end

0 commit comments

Comments
 (0)