Skip to content

isReleasesOrTags !== isReleases || isTags #168

@fregante

Description

@fregante

I think isReleasesOrTags is wrong.

  • isReleases: /user/repo/releases
  • isTags: /user/repo/tags
  • isReleasesOrTags: ?

You'd think that it would match ONLY those two URLs, but it also matches isSingleTag

https://refined-github.github.io/github-url-detection/?url=%2Frefined-github%2Frefined-github%2Freleases%2Ftag%2F2

Possible resolutions (non-exclusive):

  • drop isSingleTag from isReleasesOrTags
  • rename to isReleaseList and isTagList and isReleaseOrTagList
  • add isSingleReleaseOrTag

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions