Skip to content

Commit

Permalink
Merge pull request #105 from appcelerator/timob-16289_3_2_X
Browse files Browse the repository at this point in the history
[TIMOB-16289] Fixed the tisdk 3.x fixes hook to apply the hook system fix for 3.2.0 and older.
  • Loading branch information
ayeung committed Jan 23, 2014
2 parents 064e0e8 + 4d23ca7 commit 8e262cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/tisdk3fixes.js
Expand Up @@ -19,7 +19,7 @@ exports.init = function (logger, config, cli) {
cli.on('cli:go', function () {
var sdk = (cli.sdk && cli.sdk.name) || (cli.manifest && cli.manifest.version);

if (sdk && appc.version.eq(sdk, '3.2.0')) {
if (sdk && appc.version.lte(sdk, '3.2.0')) {
cli._fireHookCallback = function (callback, err, data) {
if (err) {
callback(err);
Expand Down

0 comments on commit 8e262cc

Please sign in to comment.