@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/package.json
CHANGED
package/src/engine.ts
CHANGED
|
@@ -357,9 +357,8 @@ export class RedlineEngine {
|
|
|
357
357
|
let raw_sub_edits: any[] = [];
|
|
358
358
|
try {
|
|
359
359
|
raw_sub_edits = generate_edits_from_text(target_str, new_str);
|
|
360
|
-
console.log("_word_diff_sub_edits RAW_SUB_EDITS:", JSON.stringify(raw_sub_edits, null, 2));
|
|
361
360
|
} catch (e) {
|
|
362
|
-
console.
|
|
361
|
+
console.error("generate_edits_from_text failed, falling back to wholesale edit", e);
|
|
363
362
|
raw_sub_edits = [];
|
|
364
363
|
}
|
|
365
364
|
|