Skip to content
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

Unclosed tag in file name #49

Closed
mrgnhnt96 opened this issue May 27, 2021 · 2 comments
Closed

Unclosed tag in file name #49

mrgnhnt96 opened this issue May 27, 2021 · 2 comments
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists question Further information is requested

Comments

@mrgnhnt96
Copy link
Contributor

Description
A clear and concise description of what the bug is.

When I create a new file {{#snakeCase}}{{name}}{{/snakeCase}}.dart, vscode will create a new folder named {{#snakeCase}}{{name}}{{ and contains a file named snakeCase}}.dart.

If I open Finder to create the file, create it, go back to vscode, the file name reads {{#snakeCase}}{{name}}{{:snakeCase}}.dart.

Is there a setting that I missed? Do I need change a setting in my IDE to allow "/" in file names?

Steps To Reproduce

  1. create a new file and paste "{{#snakeCase}}{{name}}{{/snakeCase}}.dart" for the name

This is the error that I get from mason with the name as "{{#snakeCase}}{{name}}{{:snakeCase}}.dart"

mason make widget
name: dash container
routable: true
✓ Making widget (10.3ms)
Unclosed tag: 'snakeCase'. (1:1)
{{#snakeCase}}{{name}}{{:snakeCase}}.dart
^

Expected Behavior
Allow me to make a file named '"{{#snakeCase}}{{name}}{{/snakeCase}}.dart"

@mrgnhnt96 mrgnhnt96 added the bug Something isn't working label May 27, 2021
@felangel
Copy link
Owner

Hi @mrgnhnt96 👋
Thanks for opening an issue!

I believe this is a duplicate of #36. Let me know if that helps 👍

@felangel felangel self-assigned this May 27, 2021
@felangel felangel added duplicate This issue or pull request already exists question Further information is requested labels May 27, 2021
@mrgnhnt96
Copy link
Contributor Author

Yup! That solves it! Thank you!

alestiago pushed a commit to alestiago/mason that referenced this issue Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants