Skip to content

Commit

Permalink
fix: fix test case
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe committed May 23, 2024
1 parent 90e3ab0 commit 1ce1532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (c *KpmClient) LoadLockDeps(pkgPath string) (*pkg.Dependencies, error) {
for name, dep := range deps.Deps {
sum, err := c.AcquireDepSum(dep)
if err != nil {
return nil, nil
return nil, err
}
dep.Sum = sum
deps.Deps[name] = dep
Expand Down

0 comments on commit 1ce1532

Please sign in to comment.