Browse files

[fix] When checking apps during deploy, use fully qualified applicati…

…on name
  • Loading branch information...
1 parent fcab3f6 commit d388574ff0d291b9f4f8c6101197b60a5c9e7bc1 @Marak Marak committed Nov 18, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/jitsu/commands/apps.js
View
4 lib/jitsu/commands/apps.js
@@ -103,10 +103,10 @@ apps.deploy = function (callback) {
winston.error(err);
return callback(new Error(), true);
}
-
+
pkg = local;
winston.silly('Checking if application ' + local.name.magenta + ' exists.');
- jitsu.apps.view(local.name, function (err, app) {
+ jitsu.apps.view(jitsu.config.get('username') + '/' + local.name, function (err, app) {
if (err) {
winston.warn('No application exists for ' + local.name.magenta);
//

0 comments on commit d388574

Please sign in to comment.