MCPcopy Create free account
hub / github.com/babel/babel / getIssueLabelLink

Function getIssueLabelLink

scripts/generators/readmes.ts:28–33  ·  view source on GitHub ↗
(l: string)

Source from the content-addressed store, hash-verified

26const getPackageJson = (pkg: string) =>
27 require(join(packageDir, pkg, "package.json"));
28const getIssueLabelLink = (l: string) => {
29 if (!l) return "";
30 return `https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22${encodeURIComponent(
31 l
32 )}%22+is%3Aopen`;
33};
34const getNpmInstall = (name: string) =>
35 `npm install ${isDep(name) ? "--save" : "--save-dev"} ${name}`;
36const getYarnAdd = (name: string) =>

Callers 1

readmes.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected