bug: running ./run.sh points deno to ~/nixos/.local/share/nvim/mason/bin/deno for some weird reasons

master
pegasust 2022-12-03 06:20:24 +00:00
parent 46ba1d4cd0
commit 8b7df008d0
3 changed files with 2 additions and 3 deletions

View File

@ -6,7 +6,6 @@
],
"strict": true
},
"importMap": "import_map.json",
"lint": {
"files": {
"include": [

4
2022/d3/run.sh Normal file → Executable file
View File

@ -2,9 +2,9 @@
# Runs deno at src/d3_deno.ts with arguments ["example.txt"]
echo "example.txt"
deno run --allow-read src/d3_deno.ts "example.txt"
deno run --allow-read "${PWD}/src/d3_deno.ts" "${PWD}/data/example.txt"
echo "submission.txt"
deno run --allow-read src/d3_deno.ts "submission.txt"
deno run --allow-read "${PWD}/src/d3_deno.ts" "${PWD}/data/submission.txt"

0
2022/d3/src/d3_deno.ts Normal file → Executable file
View File