Skip to content

Commit

Permalink
Merge pull request #155 from appcelerator/timob-17666
Browse files Browse the repository at this point in the history
[TIMOB-17666] Fixed bug where 'ti info' failed when an invalid Titanium SDK is selected.
  • Loading branch information
cb1kenobi committed Sep 9, 2014
2 parents 7c9ad17 + 6ccbdc8 commit efafcb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Added support for a "helpNoPrompt()" callback when a missing option is encountered
* Fixed bug with abbreviated options that don't have a value being set to true
* Fixed bug where Xcode 6 was not being removed from Titanium SDK 3.3.0 and older from the "ti info" results [TIMOB-17649]
* Fixed bug where "ti info" failed when an invalid Titanium SDK is selected [TIMOB-17666]

3.3.0 (7/17/14)
-------------------
Expand Down
4 changes: 2 additions & 2 deletions lib/commands/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ exports.run = function (logger, config, cli, finished) {
' ' + rpad(__('API Level')) + ' = ' + styleValue(target['api-level']) + '\n' +
' ' + rpad(__('Revision')) + ' = ' + styleValue(target.revision) + '\n' +
' ' + rpad(__('Skins')) + ' = ' + styleValue(target.skins.join(', ')) + '\n' +
' ' + rpad(__('ABIs')) + ' = ' + styleValue(target.abis.join(', ')) + '\n' +
' ' + rpad(__('ABIs')) + ' = ' + styleValue(target.abis && target.abis.join(', ') || target['tag/abis'] || __('none')) + '\n' +
' ' + rpad(__('Path')) + ' = ' + styleValue(target.path) + '\n';
} else if (target.type == 'Add-On') {
androidAddons += (targetId + ') ' + target.id).grey + '\n' +
Expand All @@ -390,7 +390,7 @@ exports.run = function (logger, config, cli, finished) {
' ' + rpad(__('Revision')) + ' = ' + styleValue(target.revision) + '\n' +
' ' + rpad(__('Description')) + ' = ' + styleValue(target.description) + '\n' +
' ' + rpad(__('Skins')) + ' = ' + styleValue(target.skins.join(', ')) + '\n' +
' ' + rpad(__('ABIs')) + ' = ' + styleValue(target.abis.join(', ')) + '\n' +
' ' + rpad(__('ABIs')) + ' = ' + styleValue(target.abis && target.abis.join(', ') || target['tag/abis'] || __('none')) + '\n' +
' ' + rpad(__('Path')) + ' = ' + styleValue(target.path) + '\n' +
' ' + rpad(__('Based On')) + ' = ' + styleValue(target['based-on'] ? __('Android %s (API level %s)', target['based-on']['android-version'], target['based-on']['api-level']) : __('unknown')) + '\n' +
' ' + rpad(__('Libraries')) + ' = ' + styleValue(target.libraries && Object.keys(target.libraries).length
Expand Down

0 comments on commit efafcb6

Please sign in to comment.