Function: validateDependency

validateDependency(graph, dependency): void

A function to validate dependencies in a CreateDependencies function

Throws

If the dependency is invalid.

Parameters

NameType
graphProjectGraph
dependencyProjectGraphDependencyWithFile

Returns

void