Skip to content

Commit 1b4e744

Browse files
committed
Fix directory name and library name comparison
1 parent 041dcb4 commit 1b4e744

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1717
### Removed
1818

1919
### Fixed
20+
- Warnings about directory name mismatches are now based on proper comparison of strings
2021

2122
### Security
2223

exe/arduino_ci.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def perform_example_compilation_tests(cpp_library, config)
435435
end
436436

437437
assumed_name = @backend.name_of_library(cpp_library_path)
438-
ondisk_name = cpp_library_path.realpath.basename
438+
ondisk_name = cpp_library_path.realpath.basename.to_s
439439
if assumed_name != ondisk_name
440440
inform("WARNING") { "Installed library named '#{assumed_name}' has directory name '#{ondisk_name}'" }
441441
end

0 commit comments

Comments
 (0)