Skip to content

Commit

Permalink
feat: execute script
Browse files Browse the repository at this point in the history
  • Loading branch information
ssiyad committed Jun 5, 2021
1 parent 4b40ca0 commit f4ebfc9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ func synchronize(p string) error {
}

s := c.Exec
_, err = os.Stat(c.Exec)
if err == nil {
e, err := os.ReadFile(c.Exec)
if err != nil {
return err
}
s = string(e)
}

var itemAuthorName string
var itemAuthorEmail string
Expand Down

0 comments on commit f4ebfc9

Please sign in to comment.