mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
[json] missing Promise.reject
This commit is contained in:
@@ -105,7 +105,7 @@ let schemaRequestService = (uri: string): Thenable<string> => {
|
||||
return connection.sendRequest(VSCodeContentRequest.type, uri).then(responseText => {
|
||||
return responseText;
|
||||
}, error => {
|
||||
return error.message;
|
||||
return Promise.reject(error.message);
|
||||
});
|
||||
}
|
||||
if (uri.indexOf('//schema.management.azure.com/') !== -1) {
|
||||
|
||||
Reference in New Issue
Block a user