Skip to content

Commit

Permalink
Wording change if php.validate.executablePath points to an invalid ex…
Browse files Browse the repository at this point in the history
…ecutable
  • Loading branch information
dbaeumer committed Feb 1, 2017
1 parent 0f84f77 commit 46c3726
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/php/src/features/validationProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ export default class PHPValidationProvider {
let message: string = null;
if (error.code === 'ENOENT') {
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);
message = localize('wrongExecutable', 'Cannot validate since {0} is not a valid php executable. Use the setting \'php.validate.executablePath\' to configure the PHP 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.');
message = localize('noExecutable', 'Cannot validate since no PHP executable is set. Use the setting \'php.validate.executablePath\' to configure the PHP executable.');
}
} else {
message = error.message ? error.message : localize('unknownReason', 'Failed to run php using path: {0}. Reason is unknown.', executable);
Expand Down

0 comments on commit 46c3726

Please sign in to comment.