Skip to content

Commit f6b9322

Browse files
committed
_dataディレクトリ作成処理を削除
FileUtils.mkdir_p('_data') の行を削除。 _data ディレクトリは既にGitリポジトリに存在するため、 明示的に作成する必要がない。
1 parent 3a3f81f commit f6b9322

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cache_data_as_yaml.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
# Earth data: from RasPi's Clubs API: https://clubs-api.raspberrypi.org
88
EARTH_YAML_PATH = '_data/earth.yml'
99

10-
# Ensure _data directory exists
11-
FileUtils.mkdir_p('_data')
12-
1310
# Load Earth data (use string keys, not symbols)
1411
dojos_earth = JSON.load(File.read('dojos_earth.json'),
1512
nil,

0 commit comments

Comments
 (0)