all repos — pls @ acbb93b79db97bbc08bdd0c3a5bc31017c2b7dd9

A polite but determined task runner.

Fixed deprecation warnings.
h3rald h3rald@h3rald.com
Sat, 22 Apr 2023 10:51:53 +0000
commit

acbb93b79db97bbc08bdd0c3a5bc31017c2b7dd9

parent

1fddbbf720187cf7e46e277157ff37e9378c79bf

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

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

@@ -379,7 +379,7 @@ CONFIG_FILE.writeFile(DEFAULT_CFG)

try: CONFIG_FILE.parseConfig() -except: +except CatchableError: echo "(!) Unable to parse $1: $2" % [CONFIG_FILE, getCurrentExceptionMsg()] quit(1)

@@ -402,5 +402,5 @@ for arg in targets:

for thing in filterItems("things", arg): try: execute(action, thing) - except: + except CatchableError: stderr.writeLine "(!) " & getCurrentExceptionMsg()