mirror of
https://github.com/schollz/croc.git
synced 2025-10-10 21:01:02 +02:00
remove partially sent files
This commit is contained in:
parent
34d499127d
commit
09a16cacd5
3 changed files with 3 additions and 1 deletions
2
main.go
2
main.go
|
@ -114,7 +114,7 @@ func main() {
|
|||
fmt.Fprintf(c.App.Writer, "lipstick\nkiss\nme\nlipstick\nringo\n")
|
||||
}
|
||||
app.Action = func(c *cli.Context) error {
|
||||
return cr.Receive(c.Args().First())
|
||||
return receive(c)
|
||||
}
|
||||
app.Before = func(c *cli.Context) error {
|
||||
cr = croc.Init()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue