mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
Update @typescript-eslint/* to v2.1.0 (#2878)
This commit is contained in:
parent
a205e8a3c2
commit
f12acdb50b
31 changed files with 100 additions and 83 deletions
|
@ -115,7 +115,7 @@ export function writeSync(rid: number, p: Uint8Array): number {
|
|||
*
|
||||
*/
|
||||
export async function write(rid: number, p: Uint8Array): Promise<number> {
|
||||
let result = await sendAsyncMinimal(dispatch.OP_WRITE, rid, p);
|
||||
const result = await sendAsyncMinimal(dispatch.OP_WRITE, rid, p);
|
||||
if (result < 0) {
|
||||
throw new Error("write error");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue