Skip to content

Commit 71e6b3a

Browse files
committed
EXAMPLES : Fix cli for rest api app.
1 parent 3913863 commit 71e6b3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/restapi/hitch/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def rbdd(keywords):
2525
"""
2626
Run story with name containing keywords and rewrite.
2727
"""
28-
_collection().shortcut(*keywords).play()
28+
_collection(rewrite=True).shortcut(*keywords).play()
2929

3030

3131
@cli.command()
@@ -34,7 +34,7 @@ def bdd(keywords):
3434
"""
3535
Run story with name containing keywords.
3636
"""
37-
_collection(rewrite=True).shortcut(*keywords).play()
37+
_collection().shortcut(*keywords).play()
3838

3939

4040
@cli.command()

0 commit comments

Comments
 (0)