Skip to content

Commit 3758046

Browse files
committed
fix: try removing ancestry check to see if it actually matters
1 parent 33ad187 commit 3758046

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

scripts/update-demo.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@ def update_demo(
6868
fg=typer.colors.YELLOW
6969
)
7070

71-
if not is_ancestor(last_update_commit, "HEAD"):
72-
raise ValueError(
73-
f"The last update commit '{last_update_commit}' is not an ancestor of the current commit "
74-
f"'{template_commit}'."
75-
)
76-
7771
typer.secho(f"Updating demo project at {demo_path=}.", fg="yellow")
7872
with work_in(demo_path):
7973
if get_current_branch() != desired_branch_name:

0 commit comments

Comments
 (0)