From 653a2f3610d859290eca55811239ba9fd57e1343 Mon Sep 17 00:00:00 2001 From: arne Date: Thu, 5 Jan 2023 11:57:33 +0100 Subject: [PATCH] Fix symlink --- main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ts b/main.ts index af9ed77..68319af 100644 --- a/main.ts +++ b/main.ts @@ -104,5 +104,5 @@ console.log("statusRequest", statusRequest); console.log("Linking posted file so we can skip it in the future…"); // FIXME: This requires unrestricted `--allow-read` and `--allow-write` at the; // deno should provide a finer-grained permission prompt here -await Deno.symlink(`./posts/${fileToPost}`, `./posts/.posted/${fileToPost}`); +await Deno.symlink(`../${fileToPost}`, `./posts/.posted/${fileToPost}`); console.log("Done!");