Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…on name
  • Loading branch information...
commit d388574ff0d291b9f4f8c6101197b60a5c9e7bc1 1 parent fcab3f6
@Marak Marak authored
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);
//
Please sign in to comment.
Something went wrong with that request. Please try again.