diff --git a/src/goFormat.ts b/src/goFormat.ts index 013a06df8..56fbe6143 100644 --- a/src/goFormat.ts +++ b/src/goFormat.ts @@ -71,7 +71,7 @@ export class GoDocumentFormattingEditProvider implements vscode.DocumentFormatti }); p.on('close', code => { if (code !== 0) { - return reject(stderr); + return; } // Return the complete file content in the edit.