mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 22:37:41 +00:00
files - properly emit errors (#78364)
This commit is contained in:
parent
6ac91118fa
commit
c223ba6f80
|
@ -137,7 +137,7 @@ export class NodeTextFileService extends TextFileService {
|
|||
});
|
||||
|
||||
// Error
|
||||
stream.on('error', error => this.emit(error));
|
||||
stream.on('error', error => this.emit('error', error));
|
||||
}
|
||||
|
||||
// ensure the stream is flowing
|
||||
|
|
Loading…
Reference in a new issue