From 5ad3d1086991e4e9f762be4270beebd48f775f97 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 11 Mar 2016 12:06:20 -0500 Subject: [PATCH] fix(wisdom) npmPublish: private check --- lib/wisdom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wisdom.js b/lib/wisdom.js index 49558e4..5f32a74 100644 --- a/lib/wisdom.js +++ b/lib/wisdom.js @@ -161,7 +161,7 @@ }, function npmPublish(callback) { - if (!info.private && info.private !== undefined) + if (info.private) callback(); else execute('npm publish', emitter, callback);