This repository was archived by the owner on Jan 31, 2024. It is now read-only.
Commit 8e8ad48
Henry Wong
[elastic] Try invoke 'go list ...' again if we get nothing from the previous 'go list ...' invoke
The original 'go list ...' invoke has strict limitations about the load
mode, once 'go list ...' failed, we will get nothing about the packages.
For this case, try to invoke 'go list ...' with weaker limitations, like
without any dependency related information query. Although the
information we get is limited to the current file, it is better than
nothing.1 parent bf4dec8 commit 8e8ad48
2 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
656 | 661 | | |
657 | 662 | | |
658 | 663 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
89 | 99 | | |
90 | 100 | | |
91 | 101 | | |
| |||
0 commit comments