Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change copyTpl to have the same function signature as copy so it canaccept more options #27

Closed
wants to merge 1 commit into from

Conversation

blai
Copy link
Collaborator

@blai blai commented Apr 10, 2015

Fixes #25

@blai
Copy link
Collaborator Author

blai commented Apr 10, 2015

@SBoudrias The API change is a breaking change.

@SBoudrias
Copy link
Owner

Hum, I'm not sure about this one... That's a very major breaking change.

Anyway we could hack our way around breaking existing api?

@blai
Copy link
Collaborator Author

blai commented Apr 10, 2015

We could, but I think this make things more consistent.

@SBoudrias
Copy link
Owner

Would it be sufficient to only allow passing glob object as path? (ref #26)

@blai
Copy link
Collaborator Author

blai commented Apr 10, 2015

Actually I think that's an option too.

@SBoudrias
Copy link
Owner

Yeah, because this is too big of a breaking change. We wouldn't be able to bump it in Yeoman any time soon...

@SBoudrias
Copy link
Owner

I'll close this PR as we won't follow on this code path. Thanks for the work anyway!

@SBoudrias SBoudrias closed this Apr 21, 2015
@blai
Copy link
Collaborator Author

blai commented Apr 21, 2015

NP :) I will try to find time to implemented what we agree on.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

copyTpl should support glob options
2 participants