all repos — pls @ 1fddbbf720187cf7e46e277157ff37e9378c79bf

A polite but determined task runner.

Improvements.
h3rald h3rald@h3rald.com
Fri, 15 Oct 2021 10:12:37 +0000
commit

1fddbbf720187cf7e46e277157ff37e9378c79bf

parent

34ca99e4f22e7ab5cd8d61b4131eb121498dce6c

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/pls.nimsrc/pls.nim

@@ -304,7 +304,7 @@ if OPT_FULL:

echo "=== Executing Command: $1 -> $2" % [command, cmd] result = execShellCmd cmd if result != 0: - raise RuntimeError(msg: "Command '$1' failed." % command) + raise RuntimeError(msg: "Command '$1' failed (Error Code: $2)." % [command, $result]) proc filterItems*(t: string, query=""): seq[string] = result = newSeq[string]()