Skip to content

Commit 30dc437

Browse files
committed
2 parents a217eeb + f1438f5 commit 30dc437

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ let main argv =
401401
rootCommand argv {
402402
description "Data Export"
403403
inputs (connStr, outputDir, startDate, endDate)
404-
setAction (export logger)
404+
setAction (fun () -> export logger)
405405
}
406406
|> Async.AwaitTask
407407
|> Async.RunSynchronously
@@ -602,8 +602,8 @@ let main argv =
602602
description "Database Migrations"
603603
inputs Input.context // Required input for helpAction
604604
helpAction // Show --help if no sub-command is called
605-
addCommand (repairCmd logger)
606-
addCommand (migrateCmd logger)
605+
addCommand (fun () -> repairCmd logger)
606+
addCommand (fun () -> migrateCmd logger)
607607
}
608608
```
609609

0 commit comments

Comments
 (0)