Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kawaemon committed May 21, 2024
1 parent 1308075 commit 7ee832e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/unnamed.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ local function str_starts_with(str, starting)
end

local function str_ends_with(str, ending)
return ending == "" or str:sub(- #ending) == ending
return ending == "" or str:sub(-#ending) == ending
end

local function array_contains(value, array)
Expand Down

0 comments on commit 7ee832e

Please sign in to comment.