Skip to content

Commit

Permalink
[cli] list: Display the original specs, too
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelklehr committed Apr 25, 2016
1 parent 90cdc8f commit 06fd186
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@ if (command.match(/^list|ls$/i)) {
var del = ' ';
var note = ' ';
if (version === envVersion) {
note += ' (env)';
note += ' (env: '+envSpec+')';
}
if (version === localVersion) {
note += ' ('+localFile+')';
note += ' ('+localFile+': '+localSpec+')';
}
if (version === globalVersion) {
note += ' (global)';
note += ' (global: '+globalSpec+')';
}
if (version === current) del ='> ';// highlight current

Expand Down

0 comments on commit 06fd186

Please sign in to comment.