Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-19470] Fixed bug where 'ti setup check' was reporting the late… #232

Merged
merged 2 commits into from
Sep 9, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
5.0.2 (9/9/2015)
-------------------
* Fixed bug where 'ti setup check' was reporting the latest NPM version, not the latest stable version [TIMOB-19470]

5.0.1 (9/3/2015)
-------------------
* Updated to node-appc 0.2.31 which fixes a bug with the JDK detection
Expand Down
8 changes: 1 addition & 7 deletions lib/commands/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,13 +520,7 @@ SetupScreens.prototype.check = function check(callback) {
if (!err) {
try {
var info = JSON.parse(stdout);
if (info && info.versions) {
for (var i = 0, vers = info.versions, l = vers.length; i < l; i++) {
if (appc.version.gt(vers[i], r.npm.latest)) {
r.npm.latest = vers[i];
}
}
}
r.npm.latest = info && info.version || null;
} catch (ex) {
console.log(ex);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"mobile web",
"appc-client"
],
"version": "5.0.1",
"version": "5.0.2",
"author": {
"name": "Appcelerator, Inc.",
"email": "npmjs@appcelerator.com"
Expand Down