Skip to content

Commit e76fc87

Browse files
authored
Fix wrong preset variable (#8)
1 parent 0af0b1c commit e76fc87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/InstallCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ protected function generatePintConfiguration(string $path): void
100100
if (! $this->laravel['files']->put(
101101
$path,
102102
json_encode(
103-
$standard !== 'recommended'
103+
$preset !== 'recommended'
104104
? ['preset' => $preset]
105105
: $this->laravel['config']->get('git-commit-checker.pint.recommended_preset'),
106106
JSON_PRETTY_PRINT

0 commit comments

Comments
 (0)