mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 13:21:38 +00:00
Fix luacheck errors
This commit is contained in:
parent
9949a6c9ee
commit
14db86e4b7
1 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
local ApiContext = require(script.Parent.ApiContext)
|
local ApiContext = require(script.Parent.ApiContext)
|
||||||
local Config = require(script.Parent.Config)
|
local Config = require(script.Parent.Config)
|
||||||
local Logging = require(script.Parent.Logging)
|
local Logging = require(script.Parent.Logging)
|
||||||
local Promise = require(script.Parent.Parent.Promise)
|
|
||||||
|
|
||||||
local REMOTE_URL = ("http://localhost:%d"):format(Config.port)
|
local REMOTE_URL = ("http://localhost:%d"):format(Config.port)
|
||||||
|
|
||||||
|
|
@ -182,7 +181,9 @@ local function applyUpdatePiece(id, visitedIds, responseData, instanceMap, insta
|
||||||
-- work from there instead.
|
-- work from there instead.
|
||||||
local parentData = responseData[data.Parent]
|
local parentData = responseData[data.Parent]
|
||||||
if parentData ~= nil then
|
if parentData ~= nil then
|
||||||
assert(not visitedIds[data.Parent], "Rojo bug: An instance was present and marked as visited but its instance was missing")
|
if visitedIds[data.Parent] then
|
||||||
|
error("Rojo bug: An instance was present and marked as visited but its instance was missing")
|
||||||
|
end
|
||||||
|
|
||||||
applyUpdatePiece(data.Parent, visitedIds, responseData, instanceMap, instanceMetadataMap)
|
applyUpdatePiece(data.Parent, visitedIds, responseData, instanceMap, instanceMetadataMap)
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue