inputToType => createInput (for #6324)

This commit is contained in:
Benjamin Pasero
2016-05-27 08:55:07 +02:00
parent 44a8a1f1ba
commit 34c933670d
10 changed files with 20 additions and 20 deletions

View File

@@ -663,7 +663,7 @@ export class MainThreadDocuments {
TPromise.join(Object.keys(this._virtualDocumentSet).map(key => {
let resource = URI.parse(key);
return this._editorService.inputToType({ resource }).then(input => {
return this._editorService.createInput({ resource }).then(input => {
if (!this._editorService.isVisible(input, true)) {
toBeDisposed.push(resource);
}