diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-08-09 12:19:56 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-08-09 12:19:56 -0600 |
commit | c4159ef76d279d6a84257b24dbe97430af32eb1e (patch) | |
tree | 8749cd1171cde33b132a94bfcd1fd8c55cdfd979 /caddy.go | |
parent | ab885f07b844fd60adb9d49ed7884f3cd2d939a7 (diff) |
Fix module-related errors
Diffstat (limited to 'caddy.go')
-rw-r--r-- | caddy.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -227,10 +227,10 @@ func goModule(mod *debug.Module) *debug.Module { // once that issue is fixed, we should just be able to use bi.Main... hopefully. for _, dep := range bi.Deps { if dep.Path == mod.Path { - return *dep + return dep } } - return bi.Main + return &bi.Main } return mod } |