File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
17
17
18
18
### Fixed
19
19
- Replaced pipes with ` Open3.capture3 ` to avoid deadlocks when commands have too much output
20
+ - ` ci_config.rb ` now returns empty arrays (instead of nil) for undefined config keys
20
21
21
22
### Security
22
23
Original file line number Diff line number Diff line change @@ -200,12 +200,14 @@ def package_url(package)
200
200
# platforms to build [the examples on]
201
201
# @return [Array<String>] The platforms to build
202
202
def platforms_to_build
203
+ return [ ] if @compile_info [ :platforms ] . nil?
203
204
@compile_info [ :platforms ]
204
205
end
205
206
206
207
# platforms to unit test [the tests on]
207
208
# @return [Array<String>] The platforms to unit test on
208
209
def platforms_to_unittest
210
+ return [ ] if @unittest_info [ :platforms ] . nil?
209
211
@unittest_info [ :platforms ]
210
212
end
211
213
You can’t perform that action at this time.
0 commit comments