forked from rojo-rbx/rojo
Lint plugin src (#846)
This commit is contained in:
@@ -27,9 +27,9 @@ local function decodeValue(encodedValue, instanceMap)
|
||||
end
|
||||
end
|
||||
|
||||
local ok, decodedValue = RbxDom.EncodedValue.decode(encodedValue)
|
||||
local decodeSuccess, decodedValue = RbxDom.EncodedValue.decode(encodedValue)
|
||||
|
||||
if not ok then
|
||||
if not decodeSuccess then
|
||||
return false,
|
||||
Error.new(Error.CannotDecodeValue, {
|
||||
encodedValue = encodedValue,
|
||||
|
||||
Reference in New Issue
Block a user