MCPcopy
hub / github.com/webpack/webpack / getNegatedDescription

Function getNegatedDescription

lib/cli.js:149–156  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

147 * @returns {string | undefined} negative description
148 */
149 const getNegatedDescription = (path) => {
150 for (const { schema } of path) {
151 if (schema.cli) {
152 if (schema.cli.helper) continue;
153 if (schema.cli.negatedDescription) return schema.cli.negatedDescription;
154 }
155 }
156 };
157
158 /**
159 * Gets reset description.

Callers 1

addFlagFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected