mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-21 13:15:50 +00:00
Lint plugin src (#846)
This commit is contained in:
@@ -28,9 +28,9 @@ local function setProperty(instance, propertyName, value)
|
||||
})
|
||||
end
|
||||
|
||||
local ok, err = descriptor:write(instance, value)
|
||||
local writeSuccess, err = descriptor:write(instance, value)
|
||||
|
||||
if not ok then
|
||||
if not writeSuccess then
|
||||
if err.kind == RbxDom.Error.Kind.Roblox and err.extra:find("lacking permission") then
|
||||
return false,
|
||||
Error.new(Error.LackingPropertyPermissions, {
|
||||
|
||||
Reference in New Issue
Block a user