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 fb9d985 commit dbcf910
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27274,8 +27274,8 @@ __webpack_require__.r(__webpack_exports__);

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

console.log(chalk__WEBPACK_IMPORTED_MODULE_0___default().green(`* Deploying to host ${config.host}`));
console.log(chalk__WEBPACK_IMPORTED_MODULE_0___default().grey('* local dir = ') + deployer.localRoot);
Expand Down
4 changes: 2 additions & 2 deletions sftp.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ 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);
let queuifiedSftp = deployer.initQueuifiedSftp();
config.remoteDir && queuifiedSftp.mkdir(config.remoteDir);

console.log(chalk.green(`* Deploying to host ${config.host}`));
console.log(chalk.grey('* local dir = ') + deployer.localRoot);
Expand Down

0 comments on commit dbcf910

Please sign in to comment.