From 2872ee0d6cba4aba8b1a465ca4dee6e22203cf35 Mon Sep 17 00:00:00 2001 From: Scott Graves Date: Fri, 5 Mar 2021 04:16:08 +0000 Subject: [PATCH] updated README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index be6816c..cb46171 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ await api.file.upload('C:\\my_file.txt', '/my_file.txt', progress_cb, false, tru // Truncate / resize file { const f = await api.file.create_or_open('/my_file.txt'); - const b = await f.truncate(10); + await f.truncate(10); await f.close(); } ```