Pull request: 3033 verbose version output
Merge in DNS/adguard-home from 3033-version-bug to master Closes #3033. Squashed commit of the following: commit b10bd35c5c2e5a922af730e5c0930e6cd92c7855 Author: Eugene Burkov <e.burkov@adguard.com> Date: Mon May 24 21:15:46 2021 +0300 all: fix & imp scripts, rm main module version
This commit is contained in:
@@ -120,7 +120,6 @@ const (
|
||||
vFmtGOARCHHdr = "GOARCH: " + runtime.GOARCH
|
||||
vFmtGOARMHdr = "GOARM: "
|
||||
vFmtGOMIPSHdr = "GOMIPS: "
|
||||
vFmtMainHdr = "Main module:"
|
||||
vFmtDepsHdr = "Dependencies:"
|
||||
)
|
||||
|
||||
@@ -172,8 +171,6 @@ func Verbose() (v string) {
|
||||
return b.String()
|
||||
}
|
||||
|
||||
aghstrings.WriteToBuilder(b, nl, vFmtMainHdr, nltb, fmtModule(&info.Main))
|
||||
|
||||
if len(info.Deps) == 0 {
|
||||
return b.String()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user