File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,10 +90,13 @@ export class SQLNotebookController {
9090 return ;
9191 }
9292
93- writeSuccess ( execution , result . map ( item => [
94- text ( resultToMarkdownTable ( item ) , "text/markdown" ) ,
95- json ( item )
96- ] ) ) ;
93+ writeSuccess (
94+ execution ,
95+ result . map ( ( item ) => [
96+ text ( resultToMarkdownTable ( item ) , 'text/markdown' ) ,
97+ json ( item ) ,
98+ ] )
99+ ) ;
97100 }
98101}
99102
@@ -111,10 +114,7 @@ function writeSuccess(
111114 outputs : vscode . NotebookCellOutputItem [ ] [ ]
112115) {
113116 execution . replaceOutput (
114- outputs . map (
115- ( items ) =>
116- new vscode . NotebookCellOutput ( items )
117- )
117+ outputs . map ( ( items ) => new vscode . NotebookCellOutput ( items ) )
118118 ) ;
119119 execution . end ( true , Date . now ( ) ) ;
120120}
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ interface PostgresConfig extends BaseConfig {
220220 driver : 'postgres' ;
221221}
222222
223- const identity = < T > ( input : T ) => input ;
223+ const identity = < T > ( input : T ) => input ;
224224
225225async function createPostgresPool ( {
226226 host,
@@ -250,8 +250,8 @@ async function createPostgresPool({
250250 default :
251251 return pg . types . getTypeParser ( id , format ) ;
252252 }
253- }
254- }
253+ } ,
254+ } ,
255255 } ) ;
256256 return postgresPool ( pool ) ;
257257}
You can’t perform that action at this time.
0 commit comments