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

Project generation should output a warning if parameter is not a list when a placeholder expects one #16

Closed
Knetic opened this issue Sep 9, 2015 · 1 comment
Assignees
Labels

Comments

@Knetic
Copy link
Owner

Knetic commented Sep 9, 2015

Currently, if a placeholder has a join specifier (such as project.package[.], where [.] is the join), it will treat single-element parameters as if there were no join. However, this could lead to unclean practice where every parameter is given an unnecessary join specifier.

Example;

Hello, ${{=project.name[.]=}}!

With parameter project.name=fooject will produce "Hello, fooject!" as expected. But it will not warn the user that the join specifier is not required. All this placeholder needs is;

Hello, ${{=project.name=}}!

And the tool should warn the user of that.

@Knetic Knetic added the feature label Sep 9, 2015
@Knetic Knetic self-assigned this Sep 9, 2015
@Knetic
Copy link
Owner Author

Knetic commented Sep 19, 2015

Done as of 8cde9c9

@Knetic Knetic closed this as completed Sep 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant