Skip to content

Commit 9afe197

Browse files
committed
Fix bug: Revert accidentally-removed code to dump JSON file 😭
74aeac4#diff-933c7888334c8f38893a9988f349c7f8819d8310f86a68feef30d4107287df14L88
1 parent 3bdb6c3 commit 9afe197

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

get_data_from_earth.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ def request_data(variables:)
9292
end while page_info[:hasNextPage]
9393

9494
File.write('tmp/number_of_dojos', dojo_data.length)
95+
File.open('dojos_earth.json', 'w') do |file|
96+
file.puts(JSON.pretty_generate(dojo_data))
97+
end
9598

9699
# Show next step for developers
97100
#puts DOJOS_JSON

0 commit comments

Comments
 (0)