From 3e98d9091f678eb8a1673fef933ace0eadbe1b2a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 17 Sep 2020 11:03:05 -0400 Subject: [PATCH] fix: Use Buffer.writeSync in MultipartBuilder (#7542) --- cli/rt/23_multipart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/rt/23_multipart.js b/cli/rt/23_multipart.js index 78c1d28a13..25c261b988 100644 --- a/cli/rt/23_multipart.js +++ b/cli/rt/23_multipart.js @@ -52,7 +52,7 @@ } buf += `\r\n`; - this.writer.write(encoder.encode(buf)); + this.writer.writeSync(encoder.encode(buf)); }; #writeFileHeaders = (