({ required }, conf)
| 39 | } |
| 40 | |
| 41 | export 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 | |
| 50 | export async function loadPlugin({ cwd }, name, pluginsPath) { |
| 51 | const basePath = pluginsPath[name] |
no test coverage detected
searching dependent graphs…