We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6331a94 commit 8b959bcCopy full SHA for 8b959bc
lib/arduino_ci/arduino_cmd.rb
@@ -234,7 +234,11 @@ def each_library_example(installed_library_path)
234
examples.each do |e|
235
proj_file = File.join(example_path, e, "#{e}.ino")
236
puts "Considering #{proj_file}"
237
- yield e if File.exist?(proj_file)
+ real_path = File.realpath(proj_file)
238
+ exists_asis = File.exist?(proj_file)
239
+ exists_real = File.exist?(real_path)
240
+ puts "path exists: #{exists_asis}\t realpath exists: #{exists_real}\t (#real_path)"
241
+ yield e if exists_asis || exists_real
242
end
243
244
0 commit comments