File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,19 +72,21 @@ export const sandboxListCommand = new Command<SandboxContext>()
7272 } ;
7373 } ) ;
7474
75- console . log (
76- `${ "ID" . padEnd ( idHeaderLength ) } ${
77- "Created At" . padEnd ( createdAtHeaderLength )
78- } ${ "Status" . padEnd ( statusHeaderLength ) } ${
79- "Uptime" . padEnd ( uptimeHeaderLength )
80- } \n`,
81- ) ;
75+ console . log ( [
76+ "ID" . padEnd ( idHeaderLength ) ,
77+ "CREATED" . padEnd ( createdAtHeaderLength ) ,
78+ "STATUS" . padEnd ( statusHeaderLength ) ,
79+ "UPTIME" . padEnd ( uptimeHeaderLength ) ,
80+ ] . join ( " " ) ) ;
8281
8382 for ( const sandbox of processed ) {
8483 console . log (
85- `${ sandbox . id } ${ sandbox . createdAt . padEnd ( createdAtHeaderLength ) } ${
86- sandbox . status . padEnd ( statusHeaderLength )
87- } ${ sandbox . duration . padEnd ( uptimeHeaderLength ) } `,
84+ [
85+ sandbox . id . padEnd ( idHeaderLength ) ,
86+ sandbox . createdAt . padEnd ( createdAtHeaderLength ) ,
87+ sandbox . status . padEnd ( statusHeaderLength ) ,
88+ sandbox . duration . padEnd ( uptimeHeaderLength ) ,
89+ ] . join ( " " ) ,
8890 ) ;
8991 }
9092 } ) ;
You can’t perform that action at this time.
0 commit comments