Skip to content

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

Description

@devlead

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions