@fractary/codex 0.12.18 → 0.12.19
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4827,7 +4827,7 @@ function createSyncPlan(sourceFiles, targetFiles, options, config) {
|
|
|
4827
4827
|
hash: sourceFile.hash
|
|
4828
4828
|
});
|
|
4829
4829
|
} else {
|
|
4830
|
-
const isDifferent = sourceFile.hash !== targetFile.hash;
|
|
4830
|
+
const isDifferent = sourceFile.hash !== void 0 && targetFile.hash !== void 0 ? sourceFile.hash !== targetFile.hash : sourceFile.size !== targetFile.size;
|
|
4831
4831
|
if (isDifferent) {
|
|
4832
4832
|
if (options.force) {
|
|
4833
4833
|
files.push({
|