Skip to content

Commit

Permalink
fix(compat): Correct quoting on rawget call
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque authored and Tieske committed Jul 22, 2022
1 parent 2670414 commit 59b90c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/pl/compat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ end
-- This functions mimics the `warn` function added in Lua 5.4.
-- @function warn
-- @param ... any arguments
if not rawget(_G, warn) then
if not rawget(_G, "warn") then
local enabled = false
local function warn(arg1, ...)
if type(arg1) == "string" and arg1:sub(1, 1) == "@" then
Expand Down

0 comments on commit 59b90c4

Please sign in to comment.