@@ -453,17 +452,17 @@ export class FileService implements files.IFileService {
...
@@ -453,17 +452,17 @@ export class FileService implements files.IFileService {
constreader=fs.createReadStream(absolutePath).pipe(encoding.decodeStream(fileEncoding));// decode takes care of stripping any BOMs from the file content
constreader=fs.createReadStream(absolutePath).pipe(encoding.decodeStream(fileEncoding));// decode takes care of stripping any BOMs from the file content
letcontent:files.IStreamContent=<any>model;
letcontent:IStreamContent=<any>model;
content.value=reader;
content.value=reader;
content.encoding=fileEncoding;// make sure to store the encoding in the model to restore it later when writing
content.encoding=fileEncoding;// make sure to store the encoding in the model to restore it later when writing