summaryrefslogtreecommitdiff
path: root/cli/rt/30_files.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-08-28 17:08:24 +0200
committerGitHub <noreply@github.com>2020-08-28 17:08:24 +0200
commit7e946858a4a0a03c1461590c6fc8a315738a627a (patch)
tree5a6a391fead573b85fb905bb5c4ea8287dc18d13 /cli/rt/30_files.js
parent31f32ed8c4082d36ad2a4ea460366c0d57a5ddbc (diff)
refactor: migrate ops to new dispatch wrapper (#7118)
Diffstat (limited to 'cli/rt/30_files.js')
-rw-r--r--cli/rt/30_files.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/rt/30_files.js b/cli/rt/30_files.js
index fe44727c2..c0a2bbbb6 100644
--- a/cli/rt/30_files.js
+++ b/cli/rt/30_files.js
@@ -11,7 +11,7 @@
offset,
whence,
) {
- return sendSync("op_seek", { rid, offset, whence });
+ return sendSync("op_seek_sync", { rid, offset, whence });
}
function seek(
@@ -19,7 +19,7 @@
offset,
whence,
) {
- return sendAsync("op_seek", { rid, offset, whence });
+ return sendAsync("op_seek_async", { rid, offset, whence });
}
function openSync(