Skip to content

Commit f9cdf22

Browse files
committed
Remove unused config argument to perform_custom_initialization
1 parent ad19830 commit f9cdf22

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
@@ -333,8 +333,8 @@ def get_annotated_compilers(config, cpp_library)
333333
#
334334
# This feature is to drive GitHub actions / docker image installation where the container is
335335
# in a clean-slate state but needs some way to have custom library versions injected into it.
336-
# In this case, the user provided script would fetch a git repo or some other method
337-
def perform_custom_initialization(_config)
336+
# In this case, the user provided script would fetch a git repo or some other method.
337+
def perform_custom_initialization()
338338
script_path = ENV[VAR_CUSTOM_INIT_SCRIPT]
339339
inform("Environment variable #{VAR_CUSTOM_INIT_SCRIPT}") { "'#{script_path}'" }
340340
return if script_path.nil?
@@ -567,7 +567,7 @@ def perform_example_compilation_tests(cpp_library, config)
567567
end
568568

569569
# run any library init scripts from the library itself.
570-
perform_custom_initialization(config)
570+
perform_custom_initialization()
571571

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

0 commit comments

Comments
 (0)