Skip to content

Commit

Permalink
fix: lua 5.1 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Oct 18, 2023
1 parent 0945d78 commit b46a866
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/preset/utils.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
table.unpack = table.unpack or unpack

utils = utils or {}

function utils.flat(t)
Expand Down

0 comments on commit b46a866

Please sign in to comment.