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