Skip to content

Commit

Permalink
show pending revs to be published to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
cadorn committed Apr 29, 2012
1 parent 4b9135e commit eab0850
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/commands/status.js
Expand Up @@ -210,6 +210,11 @@ command.action(function (options) {
summary.push("\0green([private]\0)");
} else
if (npmInfo.published) {

if (gitInfo.type !== false && !gitInfo.tagged && context.circular !== true) {
summary.push("\0magenta( -(" + gitInfo.rev + ")>\0)");
}

var redColor = "red";
if (!npmInfo.versionSelector && (pkgInfo[1].indexOf("mappings") >= 0 || pkgInfo[1].indexOf("devMappings") >= 0)) {
npmInfo.versionSelector = "<-";
Expand Down

0 comments on commit eab0850

Please sign in to comment.