mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fmt
This commit is contained in:
parent
1cdb3e8161
commit
ccea20d2ea
1 changed files with 1 additions and 3 deletions
|
@ -125,9 +125,7 @@ pub async fn kernel(
|
||||||
fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> {
|
fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> {
|
||||||
self
|
self
|
||||||
.0
|
.0
|
||||||
.send(StreamContent::stdout(
|
.send(StreamContent::stdout(&String::from_utf8_lossy(buf)))
|
||||||
&String::from_utf8_lossy(buf),
|
|
||||||
))
|
|
||||||
.ok();
|
.ok();
|
||||||
Ok(buf.len())
|
Ok(buf.len())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue