mirror of
https://github.com/Microsoft/vscode
synced 2024-07-02 15:59:00 +00:00
fix invalid endCharacter value in php validation
This commit is contained in:
parent
c05b49710b
commit
183434d0d0
|
@ -197,7 +197,7 @@ export default class PHPValidationProvider {
|
|||
const message = matches[1];
|
||||
const line = parseInt(matches[3]) - 1;
|
||||
const diagnostic: vscode.Diagnostic = new vscode.Diagnostic(
|
||||
new vscode.Range(line, 0, line, Number.MAX_VALUE),
|
||||
new vscode.Range(line, 0, line, 2 ** 31 - 1), // See https://github.com/microsoft/vscode/issues/80288#issuecomment-650636442 for discussion
|
||||
message
|
||||
);
|
||||
diagnostics.push(diagnostic);
|
||||
|
|
Loading…
Reference in New Issue
Block a user