Skip to content

Commit

Permalink
Update pkg/jsonnet/imports.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sh0rez authored Feb 26, 2021
1 parent 2c8283f commit b7207e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/jsonnet/imports.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func importRecursive(list map[string]bool, vm *jsonnet.VM, node ast.Node, curren

contents, foundAt, err := vm.ImportAST(currentPath, p)
if err != nil {
return errors.Wrapf(err, "importing %s from %s", p, currentPath)
return fmt.Errorf("importing '%s' from '%s': %w", p, currentPath, err)
}

abs, _ := filepath.Abs(foundAt)
Expand Down

0 comments on commit b7207e0

Please sign in to comment.