Skip to content

Commit 6b41fb2

Browse files
committed
Replaced IO newLine with line
1 parent 219cadc commit 6b41fb2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Commands/DeployCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function handle()
6868
}
6969

7070
Output::info("Finished");
71-
ConsoleOutput::newLine();
71+
ConsoleOutput::line('');
7272

7373
}
7474

src/Commands/ListCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ListCommand extends BaseCommand
1515

1616
public function handle()
1717
{
18-
ConsoleOutput::newLine();
18+
ConsoleOutput::line('');
1919
ConsoleOutput::alert('Available Deployments');
2020

2121
$deployments = AtomicDeployment::select(
@@ -38,7 +38,7 @@ public function handle()
3838
$titles = ['ID', 'Commit Hash', 'Path', 'SymLink', 'Status', 'Created', 'Live'];
3939

4040
ConsoleOutput::table($titles, $deployments);
41-
ConsoleOutput::newLine();
41+
ConsoleOutput::line('');
4242
}
4343

4444
}

src/Services/Output.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static function throwable(\Throwable $obj) : void
3838
*/
3939
public static function alert(string $message) : void
4040
{
41-
ConsoleOutput::newLine();
41+
ConsoleOutput::line('');
4242
ConsoleOutput::alert($message);
4343
Log::info($message);
4444
}

0 commit comments

Comments
 (0)