j2cli icon indicating copy to clipboard operation
j2cli copied to clipboard

CWD is wrongly set

Open blaggacao opened this issue 4 years ago • 0 comments

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.

blaggacao avatar Jul 14 '20 21:07 blaggacao