Skip to content

Commit

Permalink
Remove stray splice
Browse files Browse the repository at this point in the history
  • Loading branch information
livtanong committed Apr 4, 2024
1 parent 58b3f8e commit 3ae5d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jdn-loader.janet
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
(filter (partial string/has-suffix? ".jdn"))
(map (fn [filename] (string path "/" filename))))
make-table (fn [key-fn val-fn filepaths]
(splice (mapcat (partial process-jdn-filepath key-fn val-fn) filepaths)))]
(mapcat (partial process-jdn-filepath key-fn val-fn) filepaths))]
(case binding-type
:struct @{'jdns @{:value (struct (splice (make-table keyword identity jdn-filenames)))}}
:env (table (splice (make-table symbol (fn [val] @{:value val}) jdn-filenames)))
Expand Down

0 comments on commit 3ae5d46

Please sign in to comment.