mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 12:14:49 +00:00
1 parent
029cdb68f5
commit
354192d2b8
1 file changed
+1
-2
+1
-2
@@ -281,8 +281,7 @@ func InitializeConfig() {
|
||||
themeDir := helpers.GetThemeDir()
|
||||
if themeDir != "" {
|
||||
if _, err := os.Stat(themeDir); os.IsNotExist(err) {
|
||||
jww.ERROR.Println("Unable to find theme Directory:", themeDir)
|
||||
os.Exit(1)
|
||||
jww.FATAL.Fatalln("Unable to find theme Directory:", themeDir)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user