You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vscode.window.showInformationMessage('The \''+formatCommandBinPath+'\' command is not available. Please check your clang-format.executable user setting and ensure it is installed.');
188
-
returnresolve(null);
189
-
}
190
-
if(stderr){
191
-
outputChannel.show();
192
-
outputChannel.clear();
193
-
outputChannel.appendLine(stderr);
194
-
returnreject('Cannot format due to syntax errors.');
vscode.window.showInformationMessage('The \''+formatCommandBinPath+'\' command is not available. Please check your clang-format.executable user setting and ensure it is installed.');
217
+
returnresolve(null);
218
+
}
219
+
returnreject(err);
220
+
});
221
+
child.on('close',code=>{
222
+
try{
223
+
if(stderr.length!=0){
224
+
outputChannel.show();
225
+
outputChannel.clear();
226
+
outputChannel.appendLine(stderr);
227
+
returnreject('Cannot format due to syntax errors.');
0 commit comments