diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-06-13 08:48:20 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-06-13 08:48:20 +0200 |
commit | 34ee27a78b9e2b5f475d44253ae234067b76cc6e (patch) | |
tree | 552ac468f4266140b13b91f0a6948056f0290bff /commands/commands_test.go | |
parent | 0f1fc01ef2db0421c2ee541c58b3744d1bf25d76 (diff) |
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
Diffstat (limited to 'commands/commands_test.go')
-rw-r--r-- | commands/commands_test.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/commands/commands_test.go b/commands/commands_test.go index d576b4428..907f003c0 100644 --- a/commands/commands_test.go +++ b/commands/commands_test.go @@ -237,11 +237,6 @@ List: {{ .Title }} `) - writeFile(t, filepath.Join(d, "static", "my.txt"), ` -MyMy - -`) - return d, nil } |