We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75a391e commit 6ed0e88Copy full SHA for 6ed0e88
lib/arduino_ci/host.rb
@@ -103,7 +103,7 @@ def self.readlink(path)
103
the_file = path.basename.to_s
104
105
stdout, _stderr, _exitstatus = Open3.capture3('cmd.exe', "/c dir /al #{the_dir}")
106
- symlinks = stdout.lines.map { |l| DIR_SYMLINK_REGEX.match(l) }.compact
+ symlinks = stdout.lines.map { |l| DIR_SYMLINK_REGEX.match(l.scrub) }.compact
107
our_link = symlinks.find { |m| m[1] == the_file }
108
return nil if our_link.nil?
109
0 commit comments