File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ def main():
7171 'check-plugins/{}/{} --help' .format (plugin , plugin )
7272 ))
7373 # prepend 4 spaces to every non-empty line of the output
74- _help = '\n ' .join (' {}' .format (line ) if line .strip () else line for line in _help .split ('\n ' ))
75- _help = ' ' + _help .strip ()
74+ _help = '\n ' .join ('{}' .format (line ) if line .strip () else line for line in _help .split ('\n ' ))
75+ _help = _help .strip ()
7676
7777 # got the plugin name, it's help output and the path to the README.
7878
@@ -81,7 +81,7 @@ def main():
8181 readme = lib .base .coe (lib .disk .read_file (readme_path ))
8282 readme = re .sub (
8383 r'## Help\s*```text\s*?(.*?)\s*```\s*## Usage Examples' ,
84- '## Help\n \n ```text\n {}\n ```\n \n ## Usage Examples' .format (
84+ '## Help\n \n ```text\n {}\n ```\n \n \n ## Usage Examples' .format (
8585 _help
8686 ),
8787 readme ,
You can’t perform that action at this time.
0 commit comments