Skip to content

Commit 5f08c9a

Browse files
Update gitstream.cm
Updating branch prefix syntax
1 parent 731c468 commit 5f08c9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.cm/gitstream.cm

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ is:
6363
has:
6464
deleted_files: "{{ source.diff.files | map(attr='new_file') | match(term='/dev/null') | some }}"
6565

66-
branch_prefix: "{{ branch[:branch.find('/')] if '/' in branch else branch }}"
66+
branch_prefix: "{{ branch | split('/') | first }}"
6767

6868
colors:
6969
red: "b60205"

0 commit comments

Comments
 (0)