diff --git a/src/commands/foreign.js b/src/commands/foreign.js index c02f04a4..55742134 100644 --- a/src/commands/foreign.js +++ b/src/commands/foreign.js @@ -12,8 +12,8 @@ const fs = require('fs'); * @param {Hash} opts - All options */ module.exports = function(opts) { - const file = path.resolve(opts.target, 'eo-foreign.json'), - all = JSON.parse(fs.readFileSync(file, 'utf8')); + const file = path.resolve(opts.target, 'eo-foreign.json'); + const all = JSON.parse(fs.readFileSync(file, 'utf8')); console.info('There are %d objects in %s:', all.length, rel(file)); all.forEach((obj) => { console.info(' %s', obj.id);