Skip to content

Commit

Permalink
Remove the error code placed in beginning of the message - microsoft#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Nafly Ifham authored and Nafly Ifham committed Oct 12, 2018
1 parent af1b7e4 commit 6307518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/linters/lintingEngine.ts
Expand Up @@ -168,7 +168,7 @@ export class LintingEngine implements ILintingEngine {
const range = new vscode.Range(position, position);

const severity = lintSeverityToVSSeverity.get(message.severity!)!;
const diagnostic = new vscode.Diagnostic(range, `${message.code}:${message.message}`, severity);
const diagnostic = new vscode.Diagnostic(range, `${message.message}`, severity);
diagnostic.code = message.code;
diagnostic.source = message.provider;
return diagnostic;
Expand Down

0 comments on commit 6307518

Please sign in to comment.