Skip to content

Commit 817ba5d

Browse files
author
tal-rofe
committed
fix: 🐞 change name of variable
change name of variable
1 parent 445d446 commit 817ba5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

β€Žsrc/modules/use/helpers/vscode.tsβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const installExtensions = async (libraries: string[]) => {
102102
}
103103

104104
await new Promise<void>((resolve, reject) => {
105-
let output = '';
105+
let errorOutput = '';
106106

107107
const spawner = spawn(vsCodeCliCommandPath, [...extensionsCmdArgs, '--force'].flat(), {
108108
cwd,
@@ -111,15 +111,15 @@ export const installExtensions = async (libraries: string[]) => {
111111
});
112112

113113
spawner.stderr?.on('data', (data) => {
114-
output += data;
114+
errorOutput += data;
115115
});
116116

117117
spawner.on('close', (exitCode: number) => {
118118
if (exitCode === 0) {
119119
return resolve();
120120
}
121121

122-
reject(output);
122+
reject(errorOutput);
123123
});
124124
});
125125
};

0 commit comments

Comments
Β (0)