Skip to content

Commit

Permalink
Merge branch 'master' into enh/release
Browse files Browse the repository at this point in the history
  • Loading branch information
satra authored Jan 14, 2023
2 parents ec3a286 + a46b695 commit b01a0f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions neurodocker/reproenv/renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,8 @@ def _indent_run_instruction(string: str, indent=4) -> str:
lines = string.splitlines()
for ii, line in enumerate(lines):
line = line.rstrip()
if not line:
continue
is_last_line = ii == len(lines) - 1
already_cont = line.startswith(("&&", "&", "||", "|", "fi"))
is_comment = line.startswith("#")
Expand Down

0 comments on commit b01a0f6

Please sign in to comment.