diff --git a/src/extension.ts b/src/extension.ts index b7f208d..dfa4fd8 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -189,7 +189,7 @@ export class ClangDocumentFormattingEditProvider implements vscode.DocumentForma return reject('Cannot format due to syntax errors.'); } if (err) { - return reject() + return reject(); } let dummyProcessor = (value: string) => {