Skip to content

Commit a516e7c

Browse files
committed
Reeplace deprecated function call.
1 parent 86c8e95 commit a516e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/arduino_ci/cpp_library.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ def build_for_test_with_configuration(test_file, aux_libraries, gcc_binary, ci_g
493493
base = test_file.basename
494494
# hide build artifacts
495495
build_dir = '.arduino_ci'
496-
Dir.mkdir build_dir unless File.exists?(build_dir)
496+
Dir.mkdir build_dir unless File.exist?(build_dir)
497497
executable = Pathname.new("#{build_dir}/unittest_#{base}.bin").expand_path
498498
File.delete(executable) if File.exist?(executable)
499499
arg_sets = []

0 commit comments

Comments
 (0)