commands: Do not fail server build when /static is missing
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 13 Jun 2018 06:48:20 +0000 (08:48 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 13 Jun 2018 06:48:20 +0000 (08:48 +0200)
commit34ee27a78b9e2b5f475d44253ae234067b76cc6e
tree552ac468f4266140b13b91f0a6948056f0290bff
parent0f1fc01ef2db0421c2ee541c58b3744d1bf25d76
commands: Do not fail server build when /static is missing

This was a un-intended change in Hugo 0.42. Most sites will have a static directory so this should not be a big issue, but this commit will revert back to old behaviour.

Fixes #4846
commands/commands_test.go
commands/hugo.go