j2cli
j2cli copied to clipboard
CWD is wrongly set
https://github.com/kolypto/j2cli/blob/542b18c26ce9854f7787f0c95a6d10523f2eefc6/j2cli/cli.py#L239
This is not correct.
The only usage of cwd
is in FilePathLoader
which has to deal with relative (to the template) paths.
This should not be called cwd and instead adopt the dirname of the template file.