Xuanwo commented on code in PR #1990: URL: https://github.com/apache/incubator-opendal/pull/1990#discussion_r1166519913
########## bindings/nodejs/README.md: ########## @@ -18,12 +18,12 @@ See our documentations on [opendal.apache.org](https://opendal.apache.org/docs/n import { Operator } from "opendal"; async function main() { - const op = new Operator("fs", { root: "/tmp" }); - await op.write("test", "Hello, World!"); - const bs = await op.read("test"); - console.log(new TextDecoder().decode(bs)); - const meta = await op.stat("test"); - console.log(`contentLength: ${meta.contentLength}`); +const op = new Operator("fs", { root: "/tmp" }); Review Comment: This change seems wrong. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
