Skip to content

gvm cd fails with Unrecognized command line argument: '' #477

@stackbaek

Description

@stackbaek

When .go-version file contains go version without go (e.g. 1.22, instead of go1.22), cd-ing into this directory prints error

Unrecognized command line argument: ''

We should consider allowing version without the prefix go in the regex

local regex='^(go([0-9]+(\.[0-9]+)*))$'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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