Skip to content

Commit 5cafa5e

Browse files
committed
fix: final fix on initial code
1 parent af9b9ae commit 5cafa5e

File tree

1 file changed

+1
-1
lines changed
  • src/tutorials/0005-regular-files-api

1 file changed

+1
-1
lines changed

src/tutorials/0005-regular-files-api/07.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const run = async () => {
6565
6666
// we've taken care of converting the buffer to a string in the return statement below
6767
68-
return bufferedContents.toString()
68+
return new TextDecoder().decode(bufferedContents)
6969
7070
}
7171
return run

0 commit comments

Comments
 (0)