mirror of
https://github.com/TECHNOFAB11/jsonnet-bundler.git
synced 2026-02-02 09:25:08 +01:00
For local dependencies check if abs path exists
This commit is contained in:
parent
e655fcaf60
commit
6ed6c3f3ec
4 changed files with 11 additions and 8 deletions
|
|
@ -89,7 +89,7 @@ func TestParseDependency(t *testing.T) {
|
|||
}
|
||||
for _, tt := range tests {
|
||||
_ = t.Run(tt.name, func(t *testing.T) {
|
||||
dependency := parseDependency(tt.path)
|
||||
dependency := parseDependency("", tt.path)
|
||||
|
||||
if tt.path == "" {
|
||||
assert.Nil(t, dependency)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue