commands: Make sure the hugo field is always initialized before it's used
authorHyeonGyu Lee <vazrupe@naver.com>
Thu, 15 Aug 2019 07:33:47 +0000 (16:33 +0900)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 15 Aug 2019 07:33:47 +0000 (09:33 +0200)
commitea9261e856c13c1d4ae05fcca08766d410b4b65c
tree70c68f81d682dff217848bee8b215369ad4a94ea
parent37f592980315de1890363d4234274a16567a6da0
commands: Make sure the hugo field is always initialized before it's used

Wrap the field to make it accessible after initialization.

Fixes #6193
commands/commandeer.go
commands/deploy.go
commands/hugo.go
commands/mod.go
commands/new.go
commands/new_theme.go
commands/server.go
commands/static_syncer.go