Rename postfinish hook to post-finish
This commit is contained in:
parent
0070379a91
commit
d5d0452c36
|
@ -147,7 +147,7 @@ func invokeHook(info tusd.FileInfo) {
|
|||
|
||||
stdout.Println("Invoking hooks…")
|
||||
|
||||
cmd := exec.Command(hooksDir + "/postfinish")
|
||||
cmd := exec.Command(hooksDir + "/post-finish")
|
||||
env := os.Environ()
|
||||
env = append(env, "TUS_ID="+info.ID)
|
||||
env = append(env, "TUS_SIZE="+strconv.FormatInt(info.Size, 10))
|
||||
|
|
Loading…
Reference in New Issue