Function: validateDependency
▸ validateDependency(dependency
, ctx
): void
A function to validate dependencies in a CreateDependencies function
Throws
If the dependency is invalid.
Parameters
Name | Type |
---|---|
dependency | RawProjectGraphDependency |
ctx | CreateDependenciesContext |
Returns
void