Skip to content

Commit

Permalink
Change copy argument order (denoland#4885)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosc90 committed Apr 26, 2020
1 parent 4485e86 commit 052bf84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/mime/multipart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export class MultipartReader {
// write buffer to file
let size = await copyN(file, buf, n);
// Write the rest of the file
size += await copy(file, new MultiReader(buf, p));
size += await copy(new MultiReader(buf, p), file);

file.close();
formFile = {
Expand Down

0 comments on commit 052bf84

Please sign in to comment.