mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-18 11:10:39 +00:00
Merge pull request #7 from xoxys/fix-multiline
remove only first hashtag from a multiline comment
This commit is contained in:
commit
cc55123bf4
@ -1,7 +1,2 @@
|
|||||||
* BUGFIX
|
* BUGFIX
|
||||||
* add `role_name` config option to overwrite name of the role
|
* remove only first hashtag from a multiline comment
|
||||||
* fix not aborting overwrite dialog
|
|
||||||
* fix failed loading of empty yaml files
|
|
||||||
* fix failed loading of yaml files containing `!unsafe` tag
|
|
||||||
* FEATURE
|
|
||||||
* add basic hugo theme
|
|
||||||
|
@ -139,7 +139,7 @@ class Annotation:
|
|||||||
self._file_handler.seek(current_file_position)
|
self._file_handler.seek(current_file_position)
|
||||||
break
|
break
|
||||||
|
|
||||||
final = next_line.replace("#", "").rstrip()
|
final = re.findall(r"\#(.*)", next_line)[0].rstrip()
|
||||||
if final[:1] == " ":
|
if final[:1] == " ":
|
||||||
final = final[1:]
|
final = final[1:]
|
||||||
final = newline + final
|
final = newline + final
|
||||||
|
Loading…
Reference in New Issue
Block a user