Skip to content

Commit e76fc87

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Commands/InstallCommand.php

Lines changed: 1 addition & 1 deletion
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)