Skip to content

Commit 286dba2

Browse files
committed
Consider libraries installed if their path is a symlink
1 parent 0638468 commit 286dba2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
4545
- A copy/paste error that prevented compiler warning flags from being supplied has been fixed, via jgfoster
4646
- RSpec was not communicating compile errors from unit test executables that failed to build. Now it does, via jgfoster
4747
- Windows paths now avoid picking up backslashes, for proper equality comparisons
48+
- Libraries are now considered installed if their entry is a symlink (for which `exist?` would return `false`)
4849

4950
### Security
5051

Diff for: lib/arduino_ci/cpp_library.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def examples_dir
9898
#
9999
# @return [bool]
100100
def installed?
101-
path.exist?
101+
path.exist? || path.symlink?
102102
end
103103

104104
# install a library by name

0 commit comments

Comments
 (0)