Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorNoah Campbell <noahcampbell@gmail.com>2013-09-21 04:03:43 +0400
committerNoah Campbell <noahcampbell@gmail.com>2013-09-21 04:03:43 +0400
commit52e8c7a0ac76f4aa1fff8ff30a6d5074bd459347 (patch)
treefcabd15f6b496589edcf56be200f865177606a70 /target
parent784077da4dcc3476f61bbf99c5f873b71694dd64 (diff)
Section is determined by the source, not the url
This change allows for top level html content to exists.
Diffstat (limited to 'target')
-rw-r--r--target/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/file.go b/target/file.go
index 844d446c5..59281633a 100644
--- a/target/file.go
+++ b/target/file.go
@@ -44,7 +44,7 @@ func writeToDisk(translated string, r io.Reader) (err error) {
if ospath != "" {
err = os.MkdirAll(ospath, 0764) // rwx, rw, r
if err != nil {
- return
+ panic(err)
}
}