@rbxts/app-forge 0.6.0-alpha.46 → 0.6.0-alpha.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,18 +4,19 @@ local TS = _G[script]
|
|
|
4
4
|
-- Components
|
|
5
5
|
local AppRegistry = TS.import(script, script.Parent.Parent, "decorator").AppRegistry
|
|
6
6
|
local function ParentRule(entry, forge)
|
|
7
|
-
local entrySource = forge:getSource(entry)()
|
|
8
7
|
local changed = false
|
|
8
|
+
local entrySource = forge:getSource(entry)()
|
|
9
9
|
-- ▼ ReadonlyMap.forEach ▼
|
|
10
10
|
local _callback = function(app, name)
|
|
11
11
|
local rules = app.rules
|
|
12
|
-
if not rules then
|
|
12
|
+
if not rules or rules.parent ~= entry then
|
|
13
13
|
return nil
|
|
14
14
|
end
|
|
15
|
-
if
|
|
15
|
+
if name == entry then
|
|
16
16
|
return nil
|
|
17
17
|
end
|
|
18
|
-
|
|
18
|
+
local childSource = forge:getSource(name)()
|
|
19
|
+
if not entrySource and childSource then
|
|
19
20
|
forge:close(name)
|
|
20
21
|
changed = true
|
|
21
22
|
end
|
package/out/vide/types.d.ts
CHANGED