-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs.copyTpl throws error with recursive globs (**/*) #19
Comments
I had this error as well and after some digging it seems that the |
@Tokimon Would you be able to come up with a test case that represent your error scenario? I'd be easier to understand your problem in that case. |
I can confirm @Tokimon issue. mem-fs-editor\actions\copyTpl.js does not include a globOptions property in the 3rd argument when it calls This then results in directories being returned from the I believe that a change to \actions\copyTpl.js (shown below) could correct this issue. It just adds a globOptions property (set to and empty object) to the object being passed in the 3rd argument of
|
Hey guys, seems you found the issue. So a PR is welcomed to fix it! (with unit test) |
Hey @SBoudrias . I have never done a PR before but I will happily give it a go later tonight. |
Originally posted here: yeoman/generator#735
@blai suggested I post this here, as it may be a
mem-fs-editor
bug.Ran into this here: https://github.com/timkelty/generator-craft-plugin
This was working rather recently, but with a freshly re-installed yo, I get this:
The text was updated successfully, but these errors were encountered: