We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 215cefb commit 5759c2bCopy full SHA for 5759c2b
scripts/update-demo.py
@@ -68,7 +68,7 @@ def update_demo(
68
fg=typer.colors.YELLOW
69
)
70
71
- if not is_ancestor(last_update_commit, "HEAD"):
+ if not is_ancestor(last_update_commit, template_commit):
72
raise ValueError(
73
f"The last update commit '{last_update_commit}' is not an ancestor of the current commit "
74
f"'{template_commit}'."
0 commit comments