mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Co-authored-by: boatbomber <zack@boatbomber.com>
This commit is contained in:
parent
c0a96e3811
commit
2798610afd
21 changed files with 157 additions and 144 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue