update
This commit is contained in:
1 parent
f95059d897
commit
34d72cbbc9
2 files changed
+4
-16
No files matched your search
+1
-1
@@ -161,7 +161,7 @@ func ParseComponents(r *http.Request) []string {
|
||||
|
||||
// Run is used to run the static website generator
|
||||
func Run(c *config.Config) {
|
||||
if !c.Hugo {
|
||||
if c.Command != "" {
|
||||
out, err := exec.Command(c.Command, c.Args...).Output()
|
||||
if err != nil {
|
||||
log.Panic("Can't execute the commands defined on Caddyfile.")
|
||||
|
||||
Reference in new issue
Block a user