fix critical (but funny) bug
i wasn't overwriting the file so the left over stuff was there which looked like garbage and was confusing
This commit is contained in:
parent
7037d9236c
commit
5b47292cdf
8 changed files with 8 additions and 7 deletions
|
@ -1,3 +1,3 @@
|
||||||
All riddles (sans one) have a one letter answer (a-z).
|
All riddles (sans one) have a one letter answer (a-z).
|
||||||
This is riddle #12
|
This is riddle #12
|
||||||
You can put like a boat on it. Also, you can it the itm also the sound you'll make when you figure it out
|
You can put like a boat on it. Also, you can it the it
|
|
@ -1,3 +1,3 @@
|
||||||
All riddles (sans one) have a one letter answer (a-z).
|
All riddles (sans one) have a one letter answer (a-z).
|
||||||
This is riddle #14
|
This is riddle #14
|
||||||
OMG THIS IS SO GROSS WHY IS THERE A POTTY WORD in haskell
|
OMG THIS IS SO GROSS WHY IS THERE A POTTY WORD
|
|
@ -1,3 +1,3 @@
|
||||||
All riddles (sans one) have a one letter answer (a-z).
|
All riddles (sans one) have a one letter answer (a-z).
|
||||||
This is riddle #15
|
This is riddle #15
|
||||||
How the type of undefined is usually displayed in haskelleping that typo, but I really meant Homestuck. Don't overthink this one
|
How the type of undefined is usually displayed in haskell
|
|
@ -1,3 +1,3 @@
|
||||||
All riddles (sans one) have a one letter answer (a-z).
|
All riddles (sans one) have a one letter answer (a-z).
|
||||||
This is riddle #16
|
This is riddle #16
|
||||||
Arguably, the real main character of Vriska. Okay, I'm keeping that typo, but I really meant Homestuck. Don't overthink this one
|
Arguably, the real main character of Vriska. Okay, I'm keeping that typo, but I really meant Homestuck. Don't overthink this one
|
|
@ -1,3 +1,3 @@
|
||||||
All riddles (sans one) have a one letter answer (a-z).
|
All riddles (sans one) have a one letter answer (a-z).
|
||||||
This is riddle #18
|
This is riddle #18
|
||||||
What was the sixth letter of my username again? outright say that. My bad.
|
What was the sixth letter of my username again?
|
|
@ -1,3 +1,3 @@
|
||||||
All riddles (sans one) have a one letter answer (a-z).
|
All riddles (sans one) have a one letter answer (a-z).
|
||||||
This is riddle #2
|
This is riddle #2
|
||||||
A man in half-life What am I?
|
A man in half-life
|
|
@ -1,3 +1,3 @@
|
||||||
All riddles (sans one) have a one letter answer (a-z).
|
All riddles (sans one) have a one letter answer (a-z).
|
||||||
This is riddle #9
|
This is riddle #9
|
||||||
I'm, like, a super popular letterWhat am I?
|
I'm, like, a super popular letter
|
|
@ -16,6 +16,7 @@ async function write_riddle(riddle: Riddle, id: number) {
|
||||||
const file = await Deno.open(`/home/mbk/Aims/cohost/static/ftct/${id}.txt`, {
|
const file = await Deno.open(`/home/mbk/Aims/cohost/static/ftct/${id}.txt`, {
|
||||||
write: true,
|
write: true,
|
||||||
create: true,
|
create: true,
|
||||||
|
truncate: true,
|
||||||
});
|
});
|
||||||
file.write(encoder.encode(render_riddle({ ...riddle, id })));
|
file.write(encoder.encode(render_riddle({ ...riddle, id })));
|
||||||
file.close();
|
file.close();
|
||||||
|
|
Loading…
Reference in a new issue