Skip to content

Commit

Permalink
[deptool] exclude packages that lacks github ref (stellar#416)
Browse files Browse the repository at this point in the history
* update cargo.toml to use the latest xdr versions.

* rollback Cargo.lock

* update per review

---------

Co-authored-by: Paul Bellamy <[email protected]>
  • Loading branch information
tsachiherman and Paul Bellamy authored Feb 24, 2023
1 parent 6dc54bd commit d95f5fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/deptool/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ func addTomlDependencies(dependencies *projectDependencies, tomlDeps map[string]
sort.Strings(names)
for _, pkgName := range names {
crateGit := tomlDeps[pkgName]
if crateGit.Git == "" {
continue
}

current := &projectDependency{
class: depClassCargo,
githubPath: crateGit.Git,
Expand Down

0 comments on commit d95f5fa

Please sign in to comment.