For local dependencies check if abs path exists

This commit is contained in:
Matthias Loibl 2019-08-12 11:50:56 +02:00
parent e655fcaf60
commit 6ed6c3f3ec
No known key found for this signature in database
GPG key ID: 78A796CA74CA38BA
4 changed files with 11 additions and 8 deletions

View file

@ -46,7 +46,7 @@ func installCommand(dir, jsonnetHome string, paths ...string) int {
if len(paths) > 0 {
for _, path := range paths {
newDep := parseDependency(path)
newDep := parseDependency(dir, path)
if newDep == nil {
kingpin.Errorf("ignoring unrecognized path: %s", path)
continue