diff options
| author | unwox <me@unwox.com> | 2024-12-24 10:09:45 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2024-12-24 10:09:45 +0600 |
| commit | 9cd9d5a5c7225c4635508cdccb8faf098f4ec961 (patch) | |
| tree | 25d69d7720ea4fa3859d0cea7a83ebe291bc0bb0 /bin | |
| parent | 38d53728f98c66f2608f4a899e9defa28b5d9077 (diff) | |
fix table.unpack incompatibility in bin/fetch.fnl
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/fetch.fnl | 3 |
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 " |
