Skip to content

Commit 83f0813

Browse files
committed
simplify
1 parent 33eb6ef commit 83f0813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ composer-dependency-analyser:
166166

167167
.PHONY: infection
168168
infection:
169-
git clone https://github.com/phpstan/build-infection.git || true
169+
git -C build-infection pull || git clone https://github.com/phpstan/build-infection.git
170170
git -C build-infection fetch origin && git -C build-infection reset --hard origin/1.x
171171
composer install --working-dir build-infection --no-interaction --no-progress
172172
php build-infection/bin/infection-config.php --source-directory='build/PHPStan/Build'> tmp/infection.json5

0 commit comments

Comments
 (0)