Commit 45a42f53 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent d332fdcd
...@@ -118,7 +118,7 @@ module.exports = ...@@ -118,7 +118,7 @@ module.exports =
# hacks # hacks
csv.stringify ([region.id, region.gateway, servers[region.gateway].next_hop] for i, region of regions when region.gateway?), (error, data)-> csv.stringify ([region.id, region.gateway, servers[region.gateway].next_hop] for i, region of regions when region.gateway?), (error, data)->
throw error if error throw error if error
fs.writeFile '/etc/railgun/regions.csv', (error)-> fs.writeFile '/etc/railgun/regions.csv', data, (error)->
throw error if error throw error if error
fs.readFile '/etc/railgun/hacks.csv', (error, data)-> fs.readFile '/etc/railgun/hacks.csv', (error, data)->
if data if data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment