Add pre-commit hook for formatting (#120)
This commit is contained in:
@@ -17,7 +17,7 @@ struct fs : async::awaiter::uv<fs<Derived, Ret>, uv_fs_t, Ret> {
|
||||
if(this->request.result < 0) {
|
||||
this->error = this->request.result;
|
||||
}
|
||||
|
||||
|
||||
uv_fs_req_cleanup(&this->request);
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ void on_read(uv_stream_t* stream, ssize_t nread, const uv_buf_t* buf) {
|
||||
uv_read_stop(stream);
|
||||
uv_close(uv_cast<uv_handle_t>(*stream), nullptr);
|
||||
/// FIXME: Figure out why the writer is already closed.
|
||||
///uv_close(uv_cast<uv_handle_t>(*writer), nullptr);
|
||||
/// uv_close(uv_cast<uv_handle_t>(*writer), nullptr);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user