Minor fix to error message when copying static files

This commit is contained in:
Oscar Bolmsten 2014-10-05 09:41:54 +02:00 committed by spf13
parent 4b9e4c90d9
commit b98c2088f8

View file

@ -216,7 +216,7 @@ func build(watches ...bool) {
func copyStatic() error {
staticDir := helpers.AbsPathify(viper.GetString("StaticDir")) + "/"
if _, err := os.Stat(staticDir); os.IsNotExist(err) {
jww.ERROR.Println("Unable to find Static Directory:", viper.GetString("theme"), "in", staticDir)
jww.ERROR.Println("Unable to find Static Directory:", staticDir)
return nil
}