From 65dbbdea2f3a4f61a581705b1237be6e82b25795 Mon Sep 17 00:00:00 2001 From: Aman Rusia Date: Mon, 18 Nov 2024 18:04:43 +0530 Subject: [PATCH] fixup! Bug fix --- src/wcgw/client/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wcgw/client/tools.py b/src/wcgw/client/tools.py index 48d46ea..97a281e 100644 --- a/src/wcgw/client/tools.py +++ b/src/wcgw/client/tools.py @@ -443,7 +443,7 @@ def find_least_edit_distance_substring( ) -> tuple[str, float]: orig_content_lines = content.split("\n") content_lines = [ - line.strip() for line in content_lines + line.strip() for line in orig_content_lines ] # Remove trailing and leading space for calculating edit distance find_lines = find_str.split("\n") find_lines = [