Skip to content

Commit 18182eb

Browse files
committed
Remove unused config argument to perform_custom_initialization
1 parent 2f2e121 commit 18182eb

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
@@ -319,8 +319,8 @@ def get_annotated_compilers(config, cpp_library)
319319
#
320320
# This feature is to drive GitHub actions / docker image installation where the container is
321321
# in a clean-slate state but needs some way to have custom library versions injected into it.
322-
# In this case, the user provided script would fetch a git repo or some other method
323-
def perform_custom_initialization(_config)
322+
# In this case, the user provided script would fetch a git repo or some other method.
323+
def perform_custom_initialization()
324324
script_path = ENV[VAR_CUSTOM_INIT_SCRIPT]
325325
inform("Environment variable #{VAR_CUSTOM_INIT_SCRIPT}") { "'#{script_path}'" }
326326
return if script_path.nil?
@@ -533,7 +533,7 @@ def perform_example_compilation_tests(cpp_library, config)
533533
end
534534

535535
# run any library init scripts from the library itself.
536-
perform_custom_initialization(config)
536+
perform_custom_initialization()
537537

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

0 commit comments

Comments
 (0)