MCPcopy
hub / github.com/semantic-release/semantic-release / validateStep

Function validateStep

lib/plugins/utils.js:41–48  ·  view source on GitHub ↗
({ required }, conf)

Source from the content-addressed store, hash-verified

39}
40
41export function validateStep({ required }, conf) {
42 conf = castArray(conf).filter(Boolean);
43 if (required) {
44 return conf.length >= 1 && validateSteps(conf);
45 }
46
47 return conf.length === 0 || validateSteps(conf);
48}
49
50export async function loadPlugin({ cwd }, name, pluginsPath) {
51 const basePath = pluginsPath[name]

Callers 2

index.jsFile · 0.90
utils.test.jsFile · 0.90

Calls 1

validateStepsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…