Skip to content

Commit 705e8db

Browse files
committed
Remove unused config argument to perform_custom_initialization
1 parent d000996 commit 705e8db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exe/arduino_ci.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ def get_annotated_compilers(config, cpp_library)
327327
#
328328
# This feature is to drive GitHub actions / docker image installation where the container is
329329
# in a clean-slate state but needs some way to have custom library versions injected into it.
330-
# In this case, the user provided script would fetch a git repo or some other method
331-
def perform_custom_initialization(_config)
330+
# In this case, the user provided script would fetch a git repo or some other method.
331+
def perform_custom_initialization()
332332
script_path = ENV[VAR_CUSTOM_INIT_SCRIPT]
333333
inform("Environment variable #{VAR_CUSTOM_INIT_SCRIPT}") { "'#{script_path}'" }
334334
return if script_path.nil?
@@ -552,7 +552,7 @@ def perform_example_compilation_tests(cpp_library, config)
552552
end
553553

554554
# run any library init scripts from the library itself.
555-
perform_custom_initialization(config)
555+
perform_custom_initialization()
556556

557557
# initialize library under test
558558
inform("Environment variable #{VAR_USE_SUBDIR}") { "'#{ENV[VAR_USE_SUBDIR]}'" }

0 commit comments

Comments
 (0)