commands: Remove the Hugo global

There are still some cleaning to do, but that felt good.

See #4598
This commit is contained in:
Bjørn Erik Pedersen 2018-04-11 08:39:39 +02:00
parent 73825cfc1c
commit b110d0ae04
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
6 changed files with 41 additions and 34 deletions

View file

@ -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)
}
}
}*/
}