MCPcopy Create free account
hub / github.com/github/awesome-copilot / validateHomepage

Function validateHomepage

eng/external-plugin-validation.mjs:205–211  ·  view source on GitHub ↗
(homepage, prefix, errors)

Source from the content-addressed store, hash-verified

203}
204
205function validateHomepage(homepage, prefix, errors) {
206 if (homepage === undefined) {
207 return;
208 }
209
210 validateHttpsUrl(homepage, "homepage", prefix, errors);
211}
212
213function formatExpectedPluginRootMessage() {
214 return EXTERNAL_PLUGIN_ROOT_MANIFEST_PATHS.map((manifestPath) => `"${manifestPath}"`).join(", ");

Callers 1

validateExternalPluginFunction · 0.85

Calls 1

validateHttpsUrlFunction · 0.85

Tested by

no test coverage detected