Skip to content

Commit

Permalink
replace placeholder in luau_validatesettings's decodeOp assertion (#56)
Browse files Browse the repository at this point in the history
the error message had `luau_settings.function` not
`luau_settings.decodeOp`
  • Loading branch information
TechHog8984 authored Nov 14, 2024
1 parent 5ce7e34 commit e389742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source.lua
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ local function luau_validatesettings(luau_settings)
assert(type(luau_settings.allowProxyErrors) == "boolean", "luau_settings.allowProxyErrors should be a boolean")
assert(type(luau_settings.staticEnvironment) == "table", "luau_settings.staticEnvironment should be a table")
assert(type(luau_settings.useImportConstants) == "boolean", "luau_settings.useImportConstants should be a boolean")
assert(type(luau_settings.decodeOp) == "function", "luau_settings.function should be a function")
assert(type(luau_settings.decodeOp) == "function", "luau_settings.decodeOp should be a function")
end

local function getmaxline(module, protoid)
Expand Down

0 comments on commit e389742

Please sign in to comment.