Skip to content

Commit

Permalink
Using updateTo version now instead of current version...
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Jahn committed Dec 2, 2015
1 parent 580d3c6 commit eba8623
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function run(config, done) {
var counter;

for (counter = 0; counter < unstableStrings.length; counter++) {
if (info.current && info.current.indexOf(unstableStrings[counter]) !== -1) {
if (info.current && info.updateTo.indexOf(unstableStrings[counter]) !== -1) {
isUnstable = true;
}
}
Expand Down
12 changes: 6 additions & 6 deletions test/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,23 @@ var expectedOptionsNotInstalled = {

var outdatedModulesUnstable = {
"servus.js": {
current: "0.1.4-beta",
current: "0.1.4",
wanted: "1.1.5",
latest: "2.0.0",
latest: "2.0.0-beta",
location: "unicons",
type: "dependencies"
},
"xunit-file": {
current: "0.1.4-alpha",
current: "0.1.4",
wanted: "1.1.5",
latest: "2.0.0",
latest: "2.0.0-alpha",
location: "unicons",
type: "dependencies"
},
"npm-stats": {
current: "0.1.4-rc",
current: "0.1.4",
wanted: "1.1.5",
latest: "2.0.0",
latest: "2.0.0-rc",
location: "unicons",
type: "dependencies"
},
Expand Down

0 comments on commit eba8623

Please sign in to comment.