diff --git a/src/vs/workbench/services/textfile/common/textFileEditorModel.ts b/src/vs/workbench/services/textfile/common/textFileEditorModel.ts index eab80165cb98b..d8366265c1498 100644 --- a/src/vs/workbench/services/textfile/common/textFileEditorModel.ts +++ b/src/vs/workbench/services/textfile/common/textFileEditorModel.ts @@ -697,10 +697,6 @@ export class TextFileEditorModel extends BaseTextEditorModel implements ITextFil } private doTouch(): TPromise { - if (this.inOrphanMode) { - return TPromise.as(void 0); // do not create the file if this model is orphaned - } - return this.fileService.touchFile(this.resource).then(stat => { // Updated resolved stat with updated stat since touching it might have changed mtime