Skip to content

Commit f56d859

Browse files
committed
Fix the fixed style error that broke platform iteration
1 parent 983c6d0 commit f56d859

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2020
### Fixed
2121
- Example sketches with no configured platforms were printing the wrong configuration values to the debug message
2222
- Libraries directory was not being automatically created prior to attempting to change directory into it
23+
- A style error whose "fix" caused an _actual_ error.
2324

2425
### Security
2526

exe/arduino_ci.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def choose_platform_set(config, reason, desired_platforms, library_properties)
373373
# completely ignore default config, opting for brute-force library matches
374374
# OTOH, we don't need to assure platforms because we defined them
375375
return inform_multiline("Default config, platforms matching architectures in library.properties") do
376-
supported_platforms.each_key do |p|
376+
supported_platforms.keys.each do |p| # rubocop:disable Style/HashEachMethods
377377
puts " #{p}"
378378
end # this returns supported_platforms
379379
end

0 commit comments

Comments
 (0)