summaryrefslogtreecommitdiff
path: root/bin/fetch.fnl
diff options
context:
space:
mode:
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 "