Skip to content

Commit

Permalink
Improve error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mikusaq committed Jan 8, 2025
1 parent 71e0a83 commit 88fc624
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/bringauto_context/ContextManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ func (context *ContextManager) GetDepsOnJsonDefPaths(packageName string, recursi
}
}
packsToRemove, err := context.GetPackageWithDepsJsonDefPaths(packageName)
if err != nil {
return []string{}, err
}
packsToBuild = removeStrings(packsToBuild, packsToRemove)
return packsToBuild, nil
}
Expand Down

0 comments on commit 88fc624

Please sign in to comment.