[`listFiles`](https://nim-lang.org/docs/nimscript.html#listFiles%2Cstring) will silently return no items if the path specified does not exist, this can make it seem like a command has worked when it in fact has not. ### Example ```nim task render, "Renders SVGs to PNGs": for file in listFiles(getCurrentDir() / "bad_path"): discard ``` ### Current Output Nothing ### Expected Output Exception