Skip to content

Commit

Permalink
Fix #1961 for Go 1.18
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Coffman <steve@khanacademy.org>
  • Loading branch information
StevenACoffman committed Mar 16, 2022
1 parent f85d59d commit bbc902c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/code/packages.go
Expand Up @@ -17,7 +17,8 @@ var mode = packages.NeedName |
packages.NeedTypes |
packages.NeedSyntax |
packages.NeedTypesInfo |
packages.NeedModule
packages.NeedModule |
packages.NeedDeps

// Packages is a wrapper around x/tools/go/packages that maintains a (hopefully prewarmed) cache of packages
// that can be invalidated as writes are made and packages are known to change.
Expand Down

0 comments on commit bbc902c

Please sign in to comment.