diff --git a/lib/build.js b/lib/build.js index a1c82ea..63a2361 100644 --- a/lib/build.js +++ b/lib/build.js @@ -46,7 +46,7 @@ module.exports = (options, done) => { done(err) }) - build.on('close', code => { + build.on('close', (code) => { if (code !== 0) return done(new Error('Conversion failed.')) done() }) diff --git a/lib/find-node-version.js b/lib/find-node-version.js index bc1b542..d1a1ba1 100644 --- a/lib/find-node-version.js +++ b/lib/find-node-version.js @@ -5,7 +5,7 @@ const Hoek = require('hoek') const DEFAULT_NODE_VERSION = '0.10.33' -module.exports = options => { +module.exports = (options) => { var version, bootPath Hoek.assert(options !== undefined, 'options is required') @@ -23,7 +23,7 @@ module.exports = options => { try { // Read boot.js to find the MIN_NODE_VERSION; use that version as the node // version of the project. - Fs.readFileSync(bootPath).toString().split('\n').some(line => { + Fs.readFileSync(bootPath).toString().split('\n').some((line) => { if (line.indexOf('MIN_NODE_VERSION') >= 0) { /* eslint-disable no-magic-numbers */ version = line.split(' ')[3].replace(/[v;']/g, '')