mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Adding more explicit returns
This commit is contained in:
@@ -168,6 +168,7 @@ export class DiagnosticCollection implements vscode.DiagnosticCollection {
|
||||
if (Array.isArray(result)) {
|
||||
return <vscode.Diagnostic[]>Object.freeze(result.slice(0));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
has(uri: URI): boolean {
|
||||
|
||||
Reference in New Issue
Block a user