@@ -120,22 +120,6 @@ export class WalkThroughInput extends EditorInput {
}
returnthis.promise;
// TODO: replicate above?
// return this.promise.then(ref => {
// const model = ref.object;
// if (!(model instanceof ResourceEditorModel)) {
// ref.dispose();
// this.promise = null;
// return TPromise.wrapError(`Unexpected model for ResourceInput: ${this.resource}`); // TODO@Ben eventually also files should be supported, but we guard due to the dangerous dispose of the model in dispose()