Skip to content

Commit

Permalink
Adds missing preprocessor phase
Browse files Browse the repository at this point in the history
  • Loading branch information
schuylermartin45 committed Jun 5, 2024
1 parent 94c5ab5 commit e6f67fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grayskull/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e6f67fd

Please sign in to comment.