Skip to content

Commit

Permalink
section text handles inline definition of publishDir
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlemarinkovic committed Jul 11, 2024
1 parent 4461e37 commit 15ddc43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wrabbit/parser/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ def find_publish_params(file_path: str) -> set:

# Handle "section []"
if line.count("[") == line.count("]"):
section_text += line[line.index("[")+1:line.index("]")]
section_text += "]"
sections.append(section_text)
brackets = 0
Expand Down

0 comments on commit 15ddc43

Please sign in to comment.