Skip to content

compile errors under 0.25.3 #244

Description

@svix-jbrown

With 0.25.3 and go1.26.4, this tool fails to compile:

$ go run github.com/hashicorp/copywrite headers -d .. --config ../.copywrite.hcl
# github.com/hashicorp/copywrite/config
../../../go/pkg/mod/github.com/hashicorp/copywrite@v0.25.3/config/config.go:172:48: cannot use ko (variable of type *"github.com/knadh/koanf/v2".Koanf) as *"github.com/knadh/koanf".Koanf value in argument to posflag.ProviderWithFla

Worked fine with 0.25.2...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions