summaryrefslogtreecommitdiff
path: root/cli/js/ops/fs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/ops/fs')
-rw-r--r--cli/js/ops/fs/make_temp.ts4
-rw-r--r--cli/js/ops/fs/open.ts2
-rw-r--r--cli/js/ops/fs/read_link.ts2
-rw-r--r--cli/js/ops/fs/realpath.ts2
-rw-r--r--cli/js/ops/fs/seek.ts2
5 files changed, 6 insertions, 6 deletions
diff --git a/cli/js/ops/fs/make_temp.ts b/cli/js/ops/fs/make_temp.ts
index cc8a76435..aeab9afc7 100644
--- a/cli/js/ops/fs/make_temp.ts
+++ b/cli/js/ops/fs/make_temp.ts
@@ -14,7 +14,7 @@ export function makeTempDirSync(options: MakeTempOptions = {}): string {
export async function makeTempDir(
options: MakeTempOptions = {}
): Promise<string> {
- return await sendAsync("op_make_temp_dir", options);
+ return sendAsync("op_make_temp_dir", options);
}
export function makeTempFileSync(options: MakeTempOptions = {}): string {
@@ -24,5 +24,5 @@ export function makeTempFileSync(options: MakeTempOptions = {}): string {
export async function makeTempFile(
options: MakeTempOptions = {}
): Promise<string> {
- return await sendAsync("op_make_temp_file", options);
+ return sendAsync("op_make_temp_file", options);
}
diff --git a/cli/js/ops/fs/open.ts b/cli/js/ops/fs/open.ts
index 0d3c23667..4c9281909 100644
--- a/cli/js/ops/fs/open.ts
+++ b/cli/js/ops/fs/open.ts
@@ -25,7 +25,7 @@ export async function open(
mode: OpenMode | undefined,
options: OpenOptions | undefined
): Promise<number> {
- return await sendAsync("op_open", {
+ return sendAsync("op_open", {
path,
options,
mode
diff --git a/cli/js/ops/fs/read_link.ts b/cli/js/ops/fs/read_link.ts
index 3c74e1f2e..403cd6def 100644
--- a/cli/js/ops/fs/read_link.ts
+++ b/cli/js/ops/fs/read_link.ts
@@ -6,5 +6,5 @@ export function readlinkSync(path: string): string {
}
export async function readlink(path: string): Promise<string> {
- return await sendAsync("op_read_link", { path });
+ return sendAsync("op_read_link", { path });
}
diff --git a/cli/js/ops/fs/realpath.ts b/cli/js/ops/fs/realpath.ts
index 625e6702d..e68e32bf0 100644
--- a/cli/js/ops/fs/realpath.ts
+++ b/cli/js/ops/fs/realpath.ts
@@ -6,5 +6,5 @@ export function realpathSync(path: string): string {
}
export async function realpath(path: string): Promise<string> {
- return await sendAsync("op_realpath", { path });
+ return sendAsync("op_realpath", { path });
}
diff --git a/cli/js/ops/fs/seek.ts b/cli/js/ops/fs/seek.ts
index a3b055c95..dfac9bf63 100644
--- a/cli/js/ops/fs/seek.ts
+++ b/cli/js/ops/fs/seek.ts
@@ -15,5 +15,5 @@ export async function seek(
offset: number,
whence: SeekMode
): Promise<number> {
- return await sendAsync("op_seek", { rid, offset, whence });
+ return sendAsync("op_seek", { rid, offset, whence });
}