continuserv, speculator: update dump-swagger call
dump-swagger now expects -o before its output path
This commit is contained in:
parent
56c3e5a627
commit
d6f892f894
2 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ func generate(dir string) error {
|
|||
|
||||
// cheekily dump the swagger docs into the gen directory so they can be
|
||||
// served by serveSpec
|
||||
cmd = exec.Command("python", "dump-swagger.py", "gen/api-docs.json")
|
||||
cmd = exec.Command("python", "dump-swagger.py", "-o", "gen/api-docs.json")
|
||||
cmd.Dir = path.Join(dir, "scripts")
|
||||
cmd.Stderr = &b
|
||||
if err := cmd.Run(); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue