@adeu/core 1.19.0 → 1.19.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/dist/index.cjs +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/engine.ts +1 -2
package/dist/index.js
CHANGED
|
@@ -3034,9 +3034,8 @@ var RedlineEngine = class {
|
|
|
3034
3034
|
let raw_sub_edits = [];
|
|
3035
3035
|
try {
|
|
3036
3036
|
raw_sub_edits = generate_edits_from_text(target_str, new_str);
|
|
3037
|
-
console.log("_word_diff_sub_edits RAW_SUB_EDITS:", JSON.stringify(raw_sub_edits, null, 2));
|
|
3038
3037
|
} catch (e) {
|
|
3039
|
-
console.
|
|
3038
|
+
console.error("generate_edits_from_text failed, falling back to wholesale edit", e);
|
|
3040
3039
|
raw_sub_edits = [];
|
|
3041
3040
|
}
|
|
3042
3041
|
if (!raw_sub_edits || raw_sub_edits.length === 0) {
|