Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Support TS plugins #327

Merged
merged 16 commits into from
Sep 29, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: don't override diagnostic source if provided
  • Loading branch information
tomv564 committed Sep 27, 2017
commit 77429ce75d97e56a49cd2675be9e99ed55efbcbc
2 changes: 1 addition & 1 deletion src/diagnostics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function convertTsDiagnostic(diagnostic: ts.Diagnostic): Diagnostic {
message: text,
severity: convertDiagnosticCategory(diagnostic.category),
code: diagnostic.code,
source: 'ts'
source: diagnostic.source || 'ts'
};
}

Expand Down