Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chwan1 committed Dec 14, 2020
1 parent 3080173 commit bafea26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sftp.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { SftpSync } from 'sftp-sync-deploy/lib/sftpSync';

function deploy(config, options) {
const deployer = new SftpSync(config, options);
deployer.initQueuifiedSftp();
config.remoteDir && deployer.queuifiedSftp.mkdir(config.remoteDir);

console.log(chalk.green(`* Deploying to host ${config.host}`));
Expand Down

0 comments on commit bafea26

Please sign in to comment.