Fixed bug that wasn't showing the StaticRootPath when validation failed

This commit is contained in:
Robert McLeod 2016-02-19 16:00:51 +13:00
parent e24e34619a
commit cacf14a41e

View File

@ -386,7 +386,7 @@ func validateStaticRootPath() error {
return nil
}
return errors.New("Failed to detect generated css or javascript files in static root (%s), have you executed default grunt task?")
return fmt.Errorf("Failed to detect generated css or javascript files in static root (%s), have you executed default grunt task?", StaticRootPath)
}
func NewConfigContext(args *CommandLineArgs) error {