cob-cli 2.42.2 → 2.42.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -81,6 +81,8 @@ async function _syncFiles(executionType, cmdEnv, from, to, extraOptions = []) {
|
|
|
81
81
|
.filter(line => !/^rsync: failed to set times on/.test(line))
|
|
82
82
|
.filter(line => !/^rsync error: some files/.test(line)) // linha final sempre que há erros
|
|
83
83
|
.filter(line => !/disabling multiplexing/.test(line)) // output irrelevante do ssh
|
|
84
|
+
.filter(line => !/No such file or directory/.test(line)) // quando dir base remoto não existe
|
|
85
|
+
.filter(line => !/write error: Broken pipe/.test(line) && !fs.existsSync(to)) // quando não existe localmente dir base
|
|
84
86
|
;
|
|
85
87
|
if(relevantErrors.length == 0){
|
|
86
88
|
count = RSYNC_RETRIES;
|
package/package.json
CHANGED