Skip to content

Commit

Permalink
Fix wrong preset variable (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhquochan authored Jan 5, 2023
1 parent 0af0b1c commit e76fc87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected function generatePintConfiguration(string $path): void
if (! $this->laravel['files']->put(
$path,
json_encode(
$standard !== 'recommended'
$preset !== 'recommended'
? ['preset' => $preset]
: $this->laravel['config']->get('git-commit-checker.pint.recommended_preset'),
JSON_PRETTY_PRINT
Expand Down

0 comments on commit e76fc87

Please sign in to comment.