diff options
author | Bjørn Erik Pedersen <[email protected]> | 2018-04-11 08:39:39 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-04-11 09:50:19 +0200 |
commit | b110d0ae04e13fb45c739bcebb580709745082e6 (patch) | |
tree | 7db6bfde65008ec29bdc87746f3201c1615c8a13 /main.go | |
parent | 73825cfc1c0b007830b24bb1947a565175b52d36 (diff) | |
download | hugo-b110d0ae04e13fb45c739bcebb580709745082e6.tar.gz hugo-b110d0ae04e13fb45c739bcebb580709745082e6.zip |
commands: Remove the Hugo global
There are still some cleaning to do, but that felt good.
See #4598
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -31,9 +31,10 @@ func main() { os.Exit(-1) } - if commands.Hugo != nil { + // TODO(bep) cli refactor + /*if commands.Hugo != nil { if commands.Hugo.Log.LogCountForLevelsGreaterThanorEqualTo(jww.LevelError) > 0 { os.Exit(-1) } - } + }*/ } |