Closed marcoliverteschke closed 3 years ago
Hi. Can you provide whole composer.json file with requires? So I can test it.
Sure thing, here you go! (Had to add .txt to make Github allow me uploading it) composer.json.txt
Fixed by commit https://github.com/liborm85/composer-vendor-cleaner/commit/6a32bcb59a19a07108c6c786c39bcbb8f9afa7c4. Released in version 1.4.0.
Thanks.
I can confirm, the bug is solved. Thanks!
Hi!
I'm testing out your plugin to clean up the vendor directory of a Drupal 8 installation, but when the plugin is enabled I encounter an exception.
I have required the plugin and configured it thus to try it out:
"dev-files": { "vendor/": [ "tests/", "docs/", ".travis.yml", "doc/" ] }
Now when I no-dev-install my dependencies, eventually I get:
[RuntimeException] Directory name must not be empty.
With the following exception trace:
Not sure, what the right approach would be here. Have the directory iterator skip empty paths would be the most obvious solution, but that's just working around the symptom, not really addressing the cause…?