Commit 571fa7f4 by Nicolás Venturo

Fix linter error

parent b8c8308d
...@@ -10,7 +10,7 @@ const cp = require('child_process'); ...@@ -10,7 +10,7 @@ const cp = require('child_process');
setVersion('contracts/package.json'); setVersion('contracts/package.json');
setVersion('ethpm.json'); setVersion('ethpm.json');
function setVersion(file) { function setVersion (file) {
const json = JSON.parse(fs.readFileSync(file)); const json = JSON.parse(fs.readFileSync(file));
json.version = process.env.npm_package_version; json.version = process.env.npm_package_version;
fs.writeFileSync(file, JSON.stringify(json, null, 2) + '\n'); fs.writeFileSync(file, JSON.stringify(json, null, 2) + '\n');
......
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