Skip to content

[Doc] the url of some file in some repo should have a specific commit or tag rather than branch #7291

Description

@ShuiRuTian

The doc/comment is great, but I noticed that some link is like

//! * Babel plugin implementation: https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-operator

This is potentially buggy, because main branch is always changing and maybe someday the file is gone.

It would be better if the file is associated with a commit or tag, then it's expected to always be there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory - Bug

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions