mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2024-11-19 08:08:05 +08:00
Compare commits
2 Commits
v2.1.6-rc.
...
v2.1.6
Author | SHA1 | Date | |
---|---|---|---|
|
9ab3993555 | ||
|
07265c8c95 |
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -609,7 +609,7 @@ const sshDeploy = (() => {
|
||||
try {
|
||||
// RSYNC COMMAND
|
||||
nodeRsync({
|
||||
src, dest, args, privateKey, port, exclude, ...defaultOptions
|
||||
src, dest, args, privateKey, port, excludeFirst: exclude, ...defaultOptions
|
||||
}, (error, stdout, stderr, cmd) => {
|
||||
if (error) {
|
||||
console.error('⚠️ [Rsync] error: ', error.message);
|
||||
|
@@ -27,7 +27,7 @@ const sshDeploy = (() => {
|
||||
try {
|
||||
// RSYNC COMMAND
|
||||
nodeRsync({
|
||||
src, dest, args, privateKey, port, exclude, ...defaultOptions
|
||||
src, dest, args, privateKey, port, excludeFirst: exclude, ...defaultOptions
|
||||
}, (error, stdout, stderr, cmd) => {
|
||||
if (error) {
|
||||
console.error('⚠️ [Rsync] error: ', error.message);
|
||||
|
Reference in New Issue
Block a user