Build on aragonOS #62

Merged
bumi merged 51 commits from aragonos into master 2019-04-02 19:36:36 +00:00
Showing only changes of commit b6f34ac9a5 - Show all commits

View File

@ -4,5 +4,5 @@ const fs = require('fs');
module.exports = function (file, networkId, data) {
let content = JSON.parse(fs.readFileSync(file));
content[networkId] = data;
fs.writeFileSync(file, JSON.stringify(content));
fs.writeFileSync(file, JSON.stringify(content, null, 2));
}