Skip to content

Commit 48ff49e

Browse files
committed
Fix #124 - prevent NPE.
1 parent e3d735c commit 48ff49e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • planemo_ext/galaxy/tools/linters

planemo_ext/galaxy/tools/linters/help.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def lint_help(tool_xml, lint_ctx):
1212
lint_ctx.warn("No help section found, consider adding a help section to your tool.")
1313
return
1414

15-
help = helps[0].text
15+
help = helps[0].text or ''
1616
if not help.strip():
1717
lint_ctx.warn("Help section appears to be empty.")
1818
return

0 commit comments

Comments
 (0)