Compare commits

..

2 Commits

Author SHA1 Message Date
Dragan Filipović
9ab3993555 Merge pull request #35 from easingthemes/feature/RSYNC-exclude-option
RSYNC use excludeFirst instead of exclude
2021-03-24 18:50:40 +01:00
Dragan Filipovic
07265c8c95 RSYNC use excludeFirst instead of exclude 2021-03-24 18:48:12 +01:00
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@@ -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);

View File

@@ -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);