You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2023/04/14 08:54:00 UTC
[GitHub] [incubator-opendal] Xuanwo commented on a diff in pull request #1990: ci: Fix format after adding editorconfig
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: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org