Closed tim-hoffmann closed 2 years ago
Could the fix be as simple as this https://github.com/sebastien-lb/plop-templates/pull/1/files ? @tim-hoffmann I found the same thing as you on the plop documentation. I will try to build and test the extension with the modification on my fork before submitting a PR here. @SamKirkland would you be ok to merge if it fix the issue? :)
Hi @sebastien-lb, yes your change looks good to me! It should solve the issue.
I tested locally and the destination path is correctly passed to the plop command and not asked anymore by the prompt. PR is here: https://github.com/SamKirkland/plop-templates/pull/13
Until this the MR is merged, you can somewhat get around it by changing the command to --destinationPath
( in my case I use location
)
Hi!
It looks like the extension does not execute the plop command correctly so that the
destinationpath
input is not bypassed. This is what the extension executes:As from the plop docs and what I tried in the console there is a
--
missing:As I can see there has been a change in v1.1.0 which removed the extra
--
. Looks like that was by accident? 🤔Thanks in advance Tim