mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Merge from vscode 81d7885dc2e9dc617e1522697a2966bc4025a45d (#5949)
* Merge from vscode 81d7885dc2e9dc617e1522697a2966bc4025a45d * Fix vs unit tests and hygiene issue * Fix strict null check issue
This commit is contained in:
@@ -71,6 +71,15 @@ export namespace MarkerSeverity {
|
||||
case Severity.Ignore: return MarkerSeverity.Hint;
|
||||
}
|
||||
}
|
||||
|
||||
export function toSeverity(severity: MarkerSeverity): Severity {
|
||||
switch (severity) {
|
||||
case MarkerSeverity.Error: return Severity.Error;
|
||||
case MarkerSeverity.Warning: return Severity.Warning;
|
||||
case MarkerSeverity.Info: return Severity.Info;
|
||||
case MarkerSeverity.Hint: return Severity.Ignore;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user