presidium 4.1.3 → 4.1.4
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.
- package/Docker.js +2 -7
- package/package.json +1 -1
package/Docker.js
CHANGED
|
@@ -417,12 +417,7 @@ class Docker {
|
|
|
417
417
|
|
|
418
418
|
const archiveFilename = `${archiveDir}/archive.tar`
|
|
419
419
|
|
|
420
|
-
const cmdArgs = [
|
|
421
|
-
'-cf',
|
|
422
|
-
archiveFilename,
|
|
423
|
-
'-C',
|
|
424
|
-
path,
|
|
425
|
-
]
|
|
420
|
+
const cmdArgs = []
|
|
426
421
|
|
|
427
422
|
cmdArgs.push(`--exclude=${archiveDir}`)
|
|
428
423
|
if (options.ignore) {
|
|
@@ -431,7 +426,7 @@ class Docker {
|
|
|
431
426
|
}
|
|
432
427
|
}
|
|
433
428
|
|
|
434
|
-
cmdArgs.push('.')
|
|
429
|
+
cmdArgs.push('-cf', archiveFilename, '-C', path, '.')
|
|
435
430
|
|
|
436
431
|
const cmd = spawn('tar', cmdArgs, { stdio: 'inherit' })
|
|
437
432
|
|