Skip to content

uv generate-shell-completion powershell script error in uv 0.4.11.Β #7482

@FishAlchemist

Description

@FishAlchemist

UV Version: uv 0.4.11 (e5dd67f 2024-09-17)
Error: A 'using' statement must appear before any other statements in a script.
(Error message. Since my computer's language is not English, I'm just translating it.)
I think it's because the new version added uvx completion (#7388), but it didn't consistently place "using" statements at the beginning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions