Skip to content

Commit

Permalink
fix out is not default
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos121493 authored Aug 27, 2016
1 parent 740ad9c commit 6cb6416
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ module.exports = function(opts, done) {
}

opts['icon-size'] = opts['icon-size'] || 80;

opts['out'] = opts['out'] || process.cwd();

opts.appPath = path.resolve(process.cwd(), opts.appPath);
opts.dmgPath = path.resolve(opts.dmgPath || path.join(opts.out, opts.name + '.dmg'));

Expand Down

0 comments on commit 6cb6416

Please sign in to comment.