Skip to content

Commit

Permalink
Inferred name/version error message should be more specific
Browse files Browse the repository at this point in the history
Fixes #390.
  • Loading branch information
malept committed Jun 14, 2016
1 parent 3edbb5b commit 347572d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ module.exports = function packager (opts, cb) {

getNameAndVersion(opts, opts.dir || process.cwd(), function (err) {
if (err) {
err.message = 'Unable to infer name or version. Please specify a name and version.\n' + err.message
err.message = 'Unable to determine application name or Electron version. Please specify an application name and Electron version.\n' + err.message
return cb(err)
}

Expand Down

0 comments on commit 347572d

Please sign in to comment.