File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
client/src/components/logViewer
server/src/python/browser/typeshed-loader Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,13 @@ const appendLogLines: OnLogFn = (logs) => {
8080 outputChannel = window . createOutputChannel ( name , "sas-log" ) ;
8181 }
8282 for ( const line of logs ) {
83- appendLogToken ( line . type ) ;
84- outputChannel . appendLine ( line . line . trimEnd ( ) ) ;
83+ line . line
84+ . trimEnd ( )
85+ . split ( "\n" )
86+ . forEach ( ( text ) => {
87+ appendLogToken ( line . type ) ;
88+ outputChannel . appendLine ( text ) ;
89+ } ) ;
8590 }
8691} ;
8792
Original file line number Diff line number Diff line change 99const fs = require ( "fs/promises" ) ;
1010const path = require ( "path" ) ;
1111
12- const dirs = [ "stdlib" ] ;
12+ const dirs = [ "stdlib" , "stubs/sas" ] ;
1313const result = [ ] ;
1414
1515async function * walk ( dir ) {
@@ -29,7 +29,7 @@ async function loader() {
2929 for ( const dir of dirs ) {
3030 const entry = path . resolve (
3131 __dirname ,
32- "../../../../node_modules/pyright-internal-node/ dist/packages/pyright-internal /typeshed-fallback" ,
32+ "../../../../dist/node /typeshed-fallback" ,
3333 dir ,
3434 ) ;
3535 const prefixLength = entry . indexOf ( "typeshed-fallback" ) - 1 ;
You can’t perform that action at this time.
0 commit comments