summaryrefslogtreecommitdiff
path: root/bin/fetch.fnl
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2024-12-24 10:09:45 +0600
committerunwox <me@unwox.com>2024-12-24 10:09:45 +0600
commit9cd9d5a5c7225c4635508cdccb8faf098f4ec961 (patch)
tree25d69d7720ea4fa3859d0cea7a83ebe291bc0bb0 /bin/fetch.fnl
parent38d53728f98c66f2608f4a899e9defa28b5d9077 (diff)
fix table.unpack incompatibility in bin/fetch.fnl
Diffstat (limited to 'bin/fetch.fnl')
-rw-r--r--bin/fetch.fnl3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/fetch.fnl b/bin/fetch.fnl
index 53a8f7a..5d998f7 100644
--- a/bin/fetch.fnl
+++ b/bin/fetch.fnl
@@ -15,6 +15,9 @@
(local chaekshop (require :parser.chaekshop))
(local {: must} (require :lib.utils))
+(when _G.unpack
+ (tset table :unpack _G.unpack))
+
(local db (must (luna.db.open "file:var/db.sqlite?_journal=WAL&_sync=NORMAL")))
(must
(luna.db.exec db "