mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
@@ -174,8 +174,7 @@ export default class PHPValidationProvider {
|
||||
}
|
||||
|
||||
private doValidate(textDocument: vscode.TextDocument): Promise<void> {
|
||||
// eslint-disable-next-line no-async-promise-executor
|
||||
return new Promise<void>(async (resolve) => {
|
||||
return new Promise<void>(resolve => {
|
||||
const executable = this.config!.executable;
|
||||
if (!executable) {
|
||||
this.showErrorMessage(localize('noPhp', 'Cannot validate since a PHP installation could not be found. Use the setting \'php.validate.executablePath\' to configure the PHP executable.'));
|
||||
|
||||
Reference in New Issue
Block a user