fix more strict init errors

This commit is contained in:
Johannes Rieken
2019-08-12 15:46:03 +02:00
parent 91da8dc700
commit f6ef80200c
10 changed files with 63 additions and 55 deletions

View File

@@ -153,7 +153,7 @@ export class ExtHostDocumentSaveParticipant implements ExtHostDocumentSavePartic
resourceEdit.edits.push({
range: range && Range.from(range),
text: newText,
eol: EndOfLine.from(newEol)
eol: newEol && EndOfLine.from(newEol)
});
}
}