-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
fix: Lambdas on windows do not work #59
Comments
Hi @YazeedAlKhalaf 👋 This is related to #56 and will be resolved via #58 shortly 👍 |
This has been addressed via #58 and is available via 0.0.1-dev.32. You shouldn't need to change anything except upgrade via |
@felangel Thanks a lot! It works now like a charm! |
Awesome! Yeah definitely! The goal was to make it easier to generate code and allow developers and teams to make their own templates based on their needs 👍 |
Description
On Windows I can't use lambdas in file names
Steps To Reproduce
Follow the steps in this blog post to create a custom widget brick https://verygood.ventures/blog/code-generation-with-mason
Expected Behavior
Should work fine but seems I can't create a file on Windows that has a slash in the name 🤷♂️😢
Maybe use double hashtags to close the lambda?
like this:
{{#snakeCase}}{{name}}{{##snakeCase}}.dart
instead of this right now:
{{#snakeCase}}{{name}}{{/snakeCase}}.dart
?
Screenshots
When making the brick it gives this error
The text was updated successfully, but these errors were encountered: