File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ export const installExtensions = async (libraries: string[]) => {
102
102
}
103
103
104
104
await new Promise < void > ( ( resolve , reject ) => {
105
- let output = '' ;
105
+ let errorOutput = '' ;
106
106
107
107
const spawner = spawn ( vsCodeCliCommandPath , [ ...extensionsCmdArgs , '--force' ] . flat ( ) , {
108
108
cwd,
@@ -111,15 +111,15 @@ export const installExtensions = async (libraries: string[]) => {
111
111
} ) ;
112
112
113
113
spawner . stderr ?. on ( 'data' , ( data ) => {
114
- output += data ;
114
+ errorOutput += data ;
115
115
} ) ;
116
116
117
117
spawner . on ( 'close' , ( exitCode : number ) => {
118
118
if ( exitCode === 0 ) {
119
119
return resolve ( ) ;
120
120
}
121
121
122
- reject ( output ) ;
122
+ reject ( errorOutput ) ;
123
123
} ) ;
124
124
} ) ;
125
125
} ;
You canβt perform that action at this time.
0 commit comments