Moved run exports to build section instead of package section
This commit is contained in:
parent
e8de40972a
commit
cdda59ac3c
1
auto-updated-bioconda-recipes
Submodule
1
auto-updated-bioconda-recipes
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 5b96026a21dcf8aaeb86115c2422633b099856c4
|
@ -40,7 +40,7 @@ def inject_run_exports(lines: list[str]):
|
||||
modified_lines = []
|
||||
for line in lines:
|
||||
indentation_count = _calc_indentation(line)
|
||||
if line == "package:\n" and indentation_count == 0:
|
||||
if line == "build:\n" and indentation_count == 0:
|
||||
package_indent = True
|
||||
modified_lines.append(line)
|
||||
elif package_indent and indentation_count == 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user