Skip to content

Commit

Permalink
[minor] removed duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
blakmatrix committed Feb 3, 2013
1 parent 32d567d commit f18ece2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/jitsu/commands/apps.js
Expand Up @@ -332,16 +332,6 @@ apps.list = function (username, callback) {
});
}

if (authuser === '') {
return jitsu.commands.users.login(function (err) {
if (err) {
return callback(err);
}

jitsu.commands.apps.list(username, callback);
});
}

jitsu.log.info('Listing all apps for ' + username.magenta);

jitsu.apps.list(username, function cb(err, apps) {
Expand Down

0 comments on commit f18ece2

Please sign in to comment.