From 9cd9d5a5c7225c4635508cdccb8faf098f4ec961 Mon Sep 17 00:00:00 2001 From: unwox Date: Tue, 24 Dec 2024 10:09:45 +0600 Subject: fix table.unpack incompatibility in bin/fetch.fnl --- bin/fetch.fnl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/fetch.fnl') 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 " -- cgit v1.2.3