Skip to content

Commit

Permalink
Merge pull request #157 from srinandan/master
Browse files Browse the repository at this point in the history
fix deployProxyWithPassword
  • Loading branch information
srinandan authored Feb 15, 2018
2 parents 6b887c6 + 8c776c8 commit 4df5dbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/lib/deploy-auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Deployment.prototype.deployWithLeanPayload = function deployWithLeanPayload( opt
var tmpDir = tmp.dirSync({ keep: true, dir: path.resolve(homeDir, '.edgemicro') });
var tasks = [];
var publicKeyUri;
var self = this;

// copy bin folder into tmp
tasks.push(function(cb) {
Expand All @@ -92,7 +93,7 @@ Deployment.prototype.deployWithLeanPayload = function deployWithLeanPayload( opt
// deploy lean payload
tasks.push(function(cb) {
const dir = tmpDir.name;
deployProxyWithPassword(managementUri,authUri, options, dir, (err,uri)=>{
self.deployProxyWithPassword(managementUri,authUri, options, dir, (err,uri)=>{
publicKeyUri = uri;
cb(err,uri)
});
Expand Down

0 comments on commit 4df5dbc

Please sign in to comment.