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

Function validateDescription

eng/validate-plugins.mjs:29–37  ·  view source on GitHub ↗
(description)

Source from the content-addressed store, hash-verified

27}
28
29function validateDescription(description) {
30 if (!description || typeof description !== "string") {
31 return "description is required and must be a string";
32 }
33 if (description.length < 1 || description.length > 500) {
34 return "description must be between 1 and 500 characters";
35 }
36 return null;
37}
38
39function validateVersion(version) {
40 if (!version || typeof version !== "string") {

Callers 1

validatePluginFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected