Merge pull request #35 from easingthemes/feature/RSYNC-exclude-option
RSYNC use excludeFirst instead of exclude
This commit is contained in:
commit
9ab3993555
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -609,7 +609,7 @@ const sshDeploy = (() => {
|
|||||||
try {
|
try {
|
||||||
// RSYNC COMMAND
|
// RSYNC COMMAND
|
||||||
nodeRsync({
|
nodeRsync({
|
||||||
src, dest, args, privateKey, port, exclude, ...defaultOptions
|
src, dest, args, privateKey, port, excludeFirst: exclude, ...defaultOptions
|
||||||
}, (error, stdout, stderr, cmd) => {
|
}, (error, stdout, stderr, cmd) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
console.error('⚠️ [Rsync] error: ', error.message);
|
console.error('⚠️ [Rsync] error: ', error.message);
|
||||||
|
@ -27,7 +27,7 @@ const sshDeploy = (() => {
|
|||||||
try {
|
try {
|
||||||
// RSYNC COMMAND
|
// RSYNC COMMAND
|
||||||
nodeRsync({
|
nodeRsync({
|
||||||
src, dest, args, privateKey, port, exclude, ...defaultOptions
|
src, dest, args, privateKey, port, excludeFirst: exclude, ...defaultOptions
|
||||||
}, (error, stdout, stderr, cmd) => {
|
}, (error, stdout, stderr, cmd) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
console.error('⚠️ [Rsync] error: ', error.message);
|
console.error('⚠️ [Rsync] error: ', error.message);
|
||||||
|
Loading…
Reference in New Issue
Block a user