Fix symlink
This commit is contained in:
parent
9a9bc31963
commit
653a2f3610
1 changed files with 1 additions and 1 deletions
2
main.ts
2
main.ts
|
|
@ -104,5 +104,5 @@ console.log("statusRequest", statusRequest);
|
||||||
console.log("Linking posted file so we can skip it in the future…");
|
console.log("Linking posted file so we can skip it in the future…");
|
||||||
// FIXME: This requires unrestricted `--allow-read` and `--allow-write` at the;
|
// FIXME: This requires unrestricted `--allow-read` and `--allow-write` at the;
|
||||||
// deno should provide a finer-grained permission prompt here
|
// 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!");
|
console.log("Done!");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue