Skip to content

Commit

Permalink
remove unnecessary variable expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Arjones committed Sep 16, 2019
1 parent 62a26db commit 9571d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class Linter implements Disposable {

let l = doc.lineAt(line);
let r = new Range(line, 0, line, l.text.length);
let d = new Diagnostic(r, `${message}`, DiagnosticSeverity.Information);
let d = new Diagnostic(r, message, DiagnosticSeverity.Information);
d.source = 'lint';
diagnostics.push(d);
}
Expand Down

0 comments on commit 9571d49

Please sign in to comment.