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) => {
80
80
outputChannel = window . createOutputChannel ( name , "sas-log" ) ;
81
81
}
82
82
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
+ } ) ;
85
90
}
86
91
} ;
87
92
Original file line number Diff line number Diff line change 9
9
const fs = require ( "fs/promises" ) ;
10
10
const path = require ( "path" ) ;
11
11
12
- const dirs = [ "stdlib" ] ;
12
+ const dirs = [ "stdlib" , "stubs/sas" ] ;
13
13
const result = [ ] ;
14
14
15
15
async function * walk ( dir ) {
@@ -29,7 +29,7 @@ async function loader() {
29
29
for ( const dir of dirs ) {
30
30
const entry = path . resolve (
31
31
__dirname ,
32
- "../../../../node_modules/pyright-internal-node/ dist/packages/pyright-internal /typeshed-fallback" ,
32
+ "../../../../dist/node /typeshed-fallback" ,
33
33
dir ,
34
34
) ;
35
35
const prefixLength = entry . indexOf ( "typeshed-fallback" ) - 1 ;
You can’t perform that action at this time.
0 commit comments