Skip to content

Commit ab47915

Browse files
committed
fix(script): remove conditional check for assets directory and always clone repository template
1 parent b1dd06a commit ab47915

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/skills/repository-template/scripts/git-clone-repository-template.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
cd "$(git rev-parse --show-toplevel)" || exit 1
44
cd .github/skills/repository-template
5-
if ! [ -d "assets" ]; then
6-
git clone https://github.com/stefaniuk/repository-template.git assets
7-
fi
5+
rm -rf assets
6+
git clone https://github.com/stefaniuk/repository-template.git assets
87
cd assets
98
git pull origin custom
109
git checkout custom

0 commit comments

Comments
 (0)