mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
Some tweaks for setting migration
This commit is contained in:
@@ -237,7 +237,7 @@ export default class PHPValidationProvider {
|
||||
private showError(error: any, executable: string): void {
|
||||
let message: string = null;
|
||||
if (error.code === 'ENOENT') {
|
||||
if (executable) {
|
||||
if (this.executable) {
|
||||
message = localize('wrongExecutable', 'Cannot validate since {0} is not a valid php executable. Click on the Path status bar item to configure the executable.', executable);
|
||||
} else {
|
||||
message = localize('noExecutable', 'Cannot validate since no PHP executable is set. Click on the Path status bar item to configure the executable.');
|
||||
|
||||
Reference in New Issue
Block a user