Skip to content

Commit 5e97140

Browse files
committed
simplify
1 parent e740968 commit 5e97140

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
@@ -167,7 +167,7 @@ composer-dependency-analyser:
167167

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

0 commit comments

Comments
 (0)