-
-
Notifications
You must be signed in to change notification settings - Fork 725
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
Improve error message for reserved argument names #2794
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that some argument names cannot be used as build arguments. For example, trying to use an argument called
version
throws the errorError: Argument value is not a valid boolean value.
build.cake
I'm guessing this is caused because version is already being used to show the tool version e.g.
dotnet cake --version
, which is reasonable.However, it's not clear from the error message above why the error occurs. I'd suggest adding a validation and display a better error message and suggest a workaround such as "Use a different name such as
appVersion
,packageVersion
, etc."Using dotnet cake global tool v0.38.1
The text was updated successfully, but these errors were encountered: