Skip to content

Commit

Permalink
fix(CommitCommand): add newLine(3) before and after confirming commit…
Browse files Browse the repository at this point in the history
… message

- Add newLine(3) before and after confirming commit message to improve readability
- Update the `git diff` output in the question for clarity
  • Loading branch information
[email protected] committed Jan 3, 2024
1 parent 1e8fa6c commit 434f0b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/Commands/CommitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function ($attempts) use ($cachedDiff): string {
);
}, 'generating...');

$this->newLine();
$this->newLine(2);
$this->task('2. Confirming commit message', function () use (&$message): void {
$this->newLine();

Expand Down Expand Up @@ -131,7 +131,7 @@ function ($attempts) use ($cachedDiff): string {
});
}, 'confirming...');

$this->newLine();
$this->newLine(2);
$this->task('3. Committing message', function () use ($message): void {
$this->newLine();
tap($this->createProcess($this->getCommitCommand($message)), function (Process $process): void {
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixtures/repository
Submodule repository updated from 8828cb to 9fa07b

0 comments on commit 434f0b4

Please sign in to comment.