MCPcopy Create free account
hub / github.com/NomicFoundation/hardhat / normalizeDocsUrl

Function normalizeDocsUrl

scripts/validate-pull-request-docs.ts:95–98  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

93}
94
95function normalizeDocsUrl(url: string): string {
96 const match = url.match(DOCS_PR_URL_PATTERN);
97 return (match !== null ? match[0] : url).toLowerCase();
98}
99
100async function validatePullRequest() {
101 if (isReleasePR()) {

Callers 1

validatePullRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected