Skip to content

Commit 8a3965a

Browse files
committed
fix: add step to checkout develop prior to deleting old lint-from-demo branch
1 parent 763f5c3 commit 8a3965a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/lint-from-demo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def lint_from_demo(
3333
no_cache=no_cache
3434
) as demo_path:
3535
git("status", "--porcelain")
36+
git("checkout", "develop")
3637
git("branch", "-D", "temp/lint-from-demo", ignore_error=True)
3738
git("checkout", "-b", "temp/lint-from-demo", "develop")
3839
pre_commit.main.main(["run", "--all-files", "--hook-stage=manual", "--show-diff-on-failure"])

0 commit comments

Comments
 (0)