MCPcopy
hub / github.com/webpack/webpack / getResetDescription

Function getResetDescription

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

Source from the content-addressed store, hash-verified

161 * @returns {string | undefined} reset description
162 */
163 const getResetDescription = (path) => {
164 for (const { schema } of path) {
165 if (schema.cli) {
166 if (schema.cli.helper) continue;
167 if (schema.cli.resetDescription) return schema.cli.resetDescription;
168 }
169 }
170 };
171
172 /**
173 * Schema to argument config.

Callers 1

addResetFlagFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected