summaryrefslogtreecommitdiffstats
path: root/hugolib/paths/themes.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/paths/themes.go')
-rw-r--r--hugolib/paths/themes.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/paths/themes.go b/hugolib/paths/themes.go
index 4718720e1..a526953f1 100644
--- a/hugolib/paths/themes.go
+++ b/hugolib/paths/themes.go
@@ -1,4 +1,4 @@
-// Copyright 2018 The Hugo Authors. All rights reserved.
+// Copyright 2019 The Hugo Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -75,7 +75,7 @@ func (c *themesCollector) add(name, configFilename string) (ThemeConfig, error)
var err error
cfg, err = config.FromFile(c.fs, configFilename)
if err != nil {
- return tc, nil
+ return tc, err
}
}