Skip to content

Commit

Permalink
Lift constraint on package names not containing -.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Bourget committed Nov 11, 2024
1 parent bdc7c26 commit 4a536a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifest/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const UNSET = math.MaxUint64
var moduleNameRegexp *regexp.Regexp

func init() {
moduleNameRegexp = regexp.MustCompile(`^([a-zA-Z][a-zA-Z0-9_]{0,63})$`)
moduleNameRegexp = regexp.MustCompile(`^([a-zA-Z][a-zA-Z0-9_-]{0,63})$`)
}

const (
Expand Down

0 comments on commit 4a536a2

Please sign in to comment.