docs: fix typos

This commit is contained in:
AJ ONeal 2020-12-17 23:42:01 -05:00
parent ce7ec4d621
commit eff2395bde
1 changed files with 2 additions and 2 deletions

View File

@ -34,10 +34,10 @@ s3.set({
bucket, bucket,
prefix, prefix,
key, key,
body, // new Buffer("hello, world") body, // Buffer.from("hello, world")
// or fs.createReadStream("./file.txt") // or fs.createReadStream("./file.txt")
size // fs.stat("./file.txt").size (required for streams) size // (await fs.stat("./file.txt")).size (required for streams)
}); });
``` ```