Skip to content

Commit 7439b6e

Browse files
authored
Merge pull request #6215 from kenjis/fix-show-table-info
fix: tweak empty line output of `spark db:table`
2 parents cd15263 + 9e1abbb commit 7439b6e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

system/Commands/Database/ShowTableInfo.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ public function run(array $params)
129129
$tables,
130130
'required'
131131
);
132+
CLI::newLine();
132133

133134
$tableName = $tables[$tableNameNo];
134135
}
@@ -154,7 +155,6 @@ private function restoreDBPrefix(): void
154155

155156
private function showDataOfTable(string $tableName, int $limitRows, int $limitFieldValue)
156157
{
157-
CLI::newLine();
158158
CLI::write("Data of Table \"{$tableName}\":", 'black', 'yellow');
159159
CLI::newLine();
160160

@@ -245,7 +245,6 @@ private function makeTableRows(
245245

246246
private function showFieldMetaData(string $tableName): void
247247
{
248-
CLI::newLine();
249248
CLI::write("List of Metadata Information in Table \"{$tableName}\":", 'black', 'yellow');
250249
CLI::newLine();
251250

0 commit comments

Comments
 (0)