Skip to content

Commit

Permalink
Merge pull request #166 from ezradiniz/bugfix/internal-deps
Browse files Browse the repository at this point in the history
Fix internal deps
  • Loading branch information
jaredpalmer authored Dec 10, 2021
2 parents 1a23357 + 13e2588 commit c1b1708
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/internal/context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,10 @@ func (c *Context) populateTopologicGraphForPackageJson(pkg *fs.PackageJSON) erro
for i, v := range externalDepSet.ToSlice() {
pkg.ExternalDeps[i] = v.(string)
}
pkg.InternalDeps = make([]string, internalDepsSet.Len())
for i, v := range internalDepsSet.List() {
pkg.InternalDeps[i] = v.(string)
}
sort.Strings(pkg.InternalDeps)
sort.Strings(pkg.ExternalDeps)
hashOfExternalDeps, err := fs.HashObject(pkg.ExternalDeps)
Expand Down

1 comment on commit c1b1708

@vercel
Copy link

@vercel vercel bot commented on c1b1708 Dec 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.