@regressionproof/snapshotter 0.6.0 → 0.6.1
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/build/esm/sync.js +1 -1
- package/build/sync.js +1 -1
- package/package.json +2 -2
package/build/esm/sync.js
CHANGED
|
@@ -29,7 +29,7 @@ export function syncFiles(sourcePath, mirrorPath) {
|
|
|
29
29
|
const hasGitIgnore = existsSync(path.join(sourcePath, '.gitignore'));
|
|
30
30
|
const excludes = DEFAULT_EXCLUDES.map((e) => `--exclude='${e}'`).join(' ');
|
|
31
31
|
if (hasGitIgnore) {
|
|
32
|
-
const cmd = `cd "${sourcePath}" && git ls-files --cached --others --exclude-standard -z | rsync -av --files-from=- --from0 ${excludes} . "${mirrorPath}/"`;
|
|
32
|
+
const cmd = `cd "${sourcePath}" && git ls-files --cached --others --exclude-standard -z | rsync -av --ignore-missing-args --files-from=- --from0 ${excludes} . "${mirrorPath}/"`;
|
|
33
33
|
yield execAsync(cmd);
|
|
34
34
|
}
|
|
35
35
|
else {
|
package/build/sync.js
CHANGED
|
@@ -25,7 +25,7 @@ async function syncFiles(sourcePath, mirrorPath) {
|
|
|
25
25
|
const hasGitIgnore = (0, fs_1.existsSync)(path_1.default.join(sourcePath, '.gitignore'));
|
|
26
26
|
const excludes = DEFAULT_EXCLUDES.map((e) => `--exclude='${e}'`).join(' ');
|
|
27
27
|
if (hasGitIgnore) {
|
|
28
|
-
const cmd = `cd "${sourcePath}" && git ls-files --cached --others --exclude-standard -z | rsync -av --files-from=- --from0 ${excludes} . "${mirrorPath}/"`;
|
|
28
|
+
const cmd = `cd "${sourcePath}" && git ls-files --cached --others --exclude-standard -z | rsync -av --ignore-missing-args --files-from=- --from0 ${excludes} . "${mirrorPath}/"`;
|
|
29
29
|
await execAsync(cmd);
|
|
30
30
|
}
|
|
31
31
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regressionproof/snapshotter",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"@sprucelabs/spruce-core-schemas": "^42.1.3",
|
|
95
95
|
"@sprucelabs/spruce-skill-utils": "^34.0.3"
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "5727f8050f30a078b6919d331f5bb1c5df72db40"
|
|
98
98
|
}
|