summaryrefslogtreecommitdiff
path: root/cli/js/ops/fs/stat.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/ops/fs/stat.ts')
-rw-r--r--cli/js/ops/fs/stat.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/js/ops/fs/stat.ts b/cli/js/ops/fs/stat.ts
index 20ca3e6b1..f455484c1 100644
--- a/cli/js/ops/fs/stat.ts
+++ b/cli/js/ops/fs/stat.ts
@@ -25,7 +25,7 @@ export interface StatResponse {
export async function lstat(path: string): Promise<FileInfo> {
const res = (await sendAsync("op_stat", {
path,
- lstat: true
+ lstat: true,
})) as StatResponse;
return new FileInfoImpl(res);
}
@@ -33,7 +33,7 @@ export async function lstat(path: string): Promise<FileInfo> {
export function lstatSync(path: string): FileInfo {
const res = sendSync("op_stat", {
path,
- lstat: true
+ lstat: true,
}) as StatResponse;
return new FileInfoImpl(res);
}
@@ -41,7 +41,7 @@ export function lstatSync(path: string): FileInfo {
export async function stat(path: string): Promise<FileInfo> {
const res = (await sendAsync("op_stat", {
path,
- lstat: false
+ lstat: false,
})) as StatResponse;
return new FileInfoImpl(res);
}
@@ -49,7 +49,7 @@ export async function stat(path: string): Promise<FileInfo> {
export function statSync(path: string): FileInfo {
const res = sendSync("op_stat", {
path,
- lstat: false
+ lstat: false,
}) as StatResponse;
return new FileInfoImpl(res);
}