@fractary/codex 0.12.11 → 0.12.13
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 +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5326,10 +5326,13 @@ var SyncManager = class {
|
|
|
5326
5326
|
let synced = 0;
|
|
5327
5327
|
let failed = 0;
|
|
5328
5328
|
if (options?.dryRun) {
|
|
5329
|
+
const actualChanges = plan.files.filter(
|
|
5330
|
+
(f) => f.operation === "create" || f.operation === "update" || f.operation === "delete"
|
|
5331
|
+
).length;
|
|
5329
5332
|
return {
|
|
5330
5333
|
success: true,
|
|
5331
5334
|
plan,
|
|
5332
|
-
synced:
|
|
5335
|
+
synced: actualChanges,
|
|
5333
5336
|
failed: 0,
|
|
5334
5337
|
skipped: plan.skipped.length,
|
|
5335
5338
|
errors: [],
|