ludtwig icon indicating copy to clipboard operation
ludtwig copied to clipboard

CLI output option `-o` does not work as expected with `../../` paths

Open MalteJanz opened this issue 4 years ago • 0 comments

The CLI option -o which is mainly used for local testing has currently a critical bug:

./ludtwig -o ./../../output/ ../../fixtures/migration

results in the writer writing to the following path:

./../../output/../../fixtures/migration/path/to/template/template.html.twig

the expected path should look like:

./../../output/fixtures/migration/path/to/template/template.html.twig

MalteJanz avatar May 15 '21 15:05 MalteJanz