Skip to content

Commit 0ca44c9

Browse files
Fix block arity of map for matrix hash
1 parent 44e620d commit 0ca44c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tasks/ci.rake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@ namespace :ci do
130130

131131
nightly = /^\d{4}-\d{2}-\d{2}-.$/.match?(args[:tag])
132132
matrix = rake_task_matrix
133-
files = matrix.map { |entry| "release/#{entry[:artifact_name]}/*" }
133+
files =
134+
matrix
135+
.flat_map { |_, entries| entries }
136+
.map { |entry| "release/#{entry[:artifact_name]}/*" }
134137
File.open("release/note.md", "w") { |f| f.print release_note }
135138
matrix[:npm].each do |task|
136139
artifact = task[:artifact_name]

0 commit comments

Comments
 (0)