summaryrefslogtreecommitdiff
path: root/std/fs/ensure_symlink.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs/ensure_symlink.ts')
-rw-r--r--std/fs/ensure_symlink.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/fs/ensure_symlink.ts b/std/fs/ensure_symlink.ts
index be96d5b13..03a8db930 100644
--- a/std/fs/ensure_symlink.ts
+++ b/std/fs/ensure_symlink.ts
@@ -20,7 +20,7 @@ export async function ensureSymlink(src: string, dest: string): Promise<void> {
const destFilePathType = getFileInfoType(destStatInfo);
if (destFilePathType !== "symlink") {
throw new Error(
- `Ensure path exists, expected 'symlink', got '${destFilePathType}'`
+ `Ensure path exists, expected 'symlink', got '${destFilePathType}'`,
);
}
return;
@@ -53,7 +53,7 @@ export function ensureSymlinkSync(src: string, dest: string): void {
const destFilePathType = getFileInfoType(destStatInfo);
if (destFilePathType !== "symlink") {
throw new Error(
- `Ensure path exists, expected 'symlink', got '${destFilePathType}'`
+ `Ensure path exists, expected 'symlink', got '${destFilePathType}'`,
);
}
return;