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

Function validateVersion

eng/validate-plugins.mjs:39–44  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

37}
38
39function validateVersion(version) {
40 if (!version || typeof version !== "string") {
41 return "version is required and must be a string";
42 }
43 return null;
44}
45
46function validateKeywords(keywords) {
47 if (keywords === undefined) return null;

Callers 1

validatePluginFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected