From e6f67fde5e02e6b6394a0a03b9c153e71f8d844a Mon Sep 17 00:00:00 2001 From: Schuyler Martin Date: Wed, 5 Jun 2024 11:30:29 -0600 Subject: [PATCH] Adds missing preprocessor phase --- grayskull/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/grayskull/utils.py b/grayskull/utils.py index 4495367f..21aefeeb 100644 --- a/grayskull/utils.py +++ b/grayskull/utils.py @@ -248,6 +248,7 @@ def upgrade_v0_recipe_to_v1(recipe: Recipe, recipe_path: Path) -> None: recipe_content = recipe_stream.getvalue() recipe_stream.close() + recipe_content = RecipeParserConvert.pre_process_recipe_text(recipe_content) recipe_converter = RecipeParserConvert(recipe_content) v1_content, _, _ = recipe_converter.render_to_v1_recipe_format() recipe_path.write_text(v1_content, encoding="utf-8")