summaryrefslogtreecommitdiffstats
path: root/commands/env.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-06-21 23:18:38 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-06-21 23:18:38 +0200
commitb1016d2e26408d3b4c62c816a52c552827b41f91 (patch)
treefcca3e82d033a5c4b6f2d7bf590734de9cdac410 /commands/env.go
parent49336bfc58f088ced757696f63c4abf0e105ab9d (diff)
commands: Make hugo env respect --logLevel
Fixes #11145
Diffstat (limited to 'commands/env.go')
-rw-r--r--commands/env.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/env.go b/commands/env.go
index a6db551e9..0652deb87 100644
--- a/commands/env.go
+++ b/commands/env.go
@@ -32,7 +32,7 @@ func newEnvCommand() simplecobra.Commander {
r.Printf("GOARCH=%q\n", runtime.GOARCH)
r.Printf("GOVERSION=%q\n", runtime.Version())
- if r.verbose {
+ if r.isVerbose() {
deps := hugo.GetDependencyList()
for _, dep := range deps {
r.Printf("%s\n", dep)