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

Argument 'foo' was not set" after update to 4.1 in Cake Frosting #4374

Closed
devlead opened this issue Oct 23, 2024 Discussed in #4373 · 1 comment · Fixed by #4375
Closed

Argument 'foo' was not set" after update to 4.1 in Cake Frosting #4374

devlead opened this issue Oct 23, 2024 Discussed in #4373 · 1 comment · Fixed by #4375
Assignees
Labels
Milestone

Comments

@devlead
Copy link
Member

devlead commented Oct 23, 2024

Discussed in https://github.com/orgs/cake-build/discussions/4373

Originally posted by pascalberger October 23, 2024
Having the following code in a Cake Frosting project:

var value = context.Argument<string>("foo");

When running Cake with --foo=bar it worked in 4.0, but with 4.1 an Argument 'foo' was not set error is thrown.

See https://github.com/pascalberger/cake-4373 for a repro.

@devlead devlead added the Bug label Oct 23, 2024
@devlead devlead added this to the v4.2.0 milestone Oct 23, 2024
@devlead devlead self-assigned this Oct 23, 2024
devlead added a commit that referenced this issue Oct 23, 2024
GH4374: Fix Frosting argument parsing
@cake-build-bot
Copy link

🎉 This issue has been resolved in version v4.2.0 🎉

The release is available on:

Your GitReleaseManager bot 📦🚀

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

Successfully merging a pull request may close this issue.

2 participants