@docupace/pipeline 1.0.64 → 1.0.65-alpha.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/package.json
CHANGED
package/src/merge/cli-resolve.js
CHANGED
|
@@ -238,8 +238,12 @@ export async function autoResolveConflicts(options = {}) {
|
|
|
238
238
|
try {
|
|
239
239
|
if (verbose)
|
|
240
240
|
console.log(`🔧 Applying '${strategy}' strategy to ${filePath}`);
|
|
241
|
-
mergeFunction(filePath);
|
|
242
|
-
|
|
241
|
+
const result = mergeFunction(filePath);
|
|
242
|
+
if (result.success) {
|
|
243
|
+
resolvedCount++;
|
|
244
|
+
} else {
|
|
245
|
+
skippedCount++;
|
|
246
|
+
}
|
|
243
247
|
} catch (error) {
|
|
244
248
|
console.error(`❌ Failed to resolve ${filePath}: ${error.message}`);
|
|
245
249
|
skippedCount++;
|
|
@@ -95,7 +95,7 @@ export async function mergePackageFile(filePath) {
|
|
|
95
95
|
console.log(' Non-version conflicts require manual resolution');
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
return result
|
|
98
|
+
return result;
|
|
99
99
|
} catch (error) {
|
|
100
100
|
console.error(`❌ Merge failed: ${error.message}`);
|
|
101
101
|
throw error;
|