Open tpwo opened 1 month ago
Hi, I noticed an issue with asciidoc_reader plugin when trying to run it from Docker. I noticed that the current logic is specified as follows:
asciidoc_reader
for cmd in ALLOWED_CMDS: if len(call(cmd + " --help")): logger.debug('AsciiDocReader: Using cmd: %s', cmd) return cmd
len(call(cmd + " --help")) seems to be non-zero i.e True even when checking for asciidoc which is not present in my Docker image.
len(call(cmd + " --help"))
True
asciidoc
This later causes the following error:
[21:13:38] WARNING AsciiDocReader: strderr: b'/bin/sh: asciidoc: not log.py:89 found\n'
Hi, I noticed an issue with
asciidoc_reader
plugin when trying to run it from Docker. I noticed that the current logic is specified as follows:len(call(cmd + " --help"))
seems to be non-zero i.eTrue
even when checking forasciidoc
which is not present in my Docker image.This later causes the following error: