Skip to content

Commit

Permalink
fix(wisdom) npmPublish: private check
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Mar 11, 2016
1 parent d017e80 commit 5ad3d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wisdom.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
},

function npmPublish(callback) {
if (!info.private && info.private !== undefined)
if (info.private)
callback();
else
execute('npm publish', emitter, callback);
Expand Down

0 comments on commit 5ad3d10

Please sign in to comment.