@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.js CHANGED
@@ -4803,7 +4803,7 @@ function createSyncPlan(sourceFiles, targetFiles, options, config) {
4803
4803
  hash: sourceFile.hash
4804
4804
  });
4805
4805
  } else {
4806
- const isDifferent = sourceFile.hash !== targetFile.hash;
4806
+ const isDifferent = sourceFile.hash !== void 0 && targetFile.hash !== void 0 ? sourceFile.hash !== targetFile.hash : sourceFile.size !== targetFile.size;
4807
4807
  if (isDifferent) {
4808
4808
  if (options.force) {
4809
4809
  files.push({