diff --git a/codemods/ho_to_raw_codemod.py b/codemods/ho_to_raw_codemod.py index b6889a98ab..e73fa2fbf1 100644 --- a/codemods/ho_to_raw_codemod.py +++ b/codemods/ho_to_raw_codemod.py @@ -46,13 +46,13 @@ def replace_all_references(strategy: IStrategy, source: str): new_source = replace_references(source, buy_params) print("Replacing references of 'sell' hyperopting params...") new_source = replace_references(new_source, sell_params) - + print("Replacing 'references' of 'buy_protection_params' hyperopting params...") new_source = re.sub( r"(global_buy_protection_params\[([\"\'])[\w\_]+\2\]).value" , r'\1', new_source) - + return new_source