Comparing version 0.2.0 to 0.2.1
@@ -21,3 +21,2 @@ var npm = require('npm'), | ||
} catch (err) { | ||
console.log(err); | ||
callback(err); | ||
@@ -78,2 +77,4 @@ } | ||
function shouldPublish(options, localVersion, remoteVersion) { | ||
log.info('Local version: ' + localVersion); | ||
log.info('Published version: ' + remoteVersion); | ||
if (semver.eq(remoteVersion, localVersion)) { | ||
@@ -80,0 +81,0 @@ log.info('Your local version is the same as your published version: publish will do nothing'); |
{ | ||
"name": "publish", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "npm auto publishing of your modules", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8909
142