@rbxts/app-forge 0.6.0-alpha.30 → 0.6.0-alpha.32
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.
- package/out/vide/rules/init.luau +1 -23
- package/package.json +1 -1
package/out/vide/rules/init.luau
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
local TS = _G[script]
|
|
3
3
|
-- Packages
|
|
4
4
|
-- Components
|
|
5
|
-
local AppRegistry = TS.import(script, script.Parent, "decorator").AppRegistry
|
|
6
5
|
-- Types
|
|
7
6
|
-- Rules
|
|
8
7
|
local ParentRule = TS.import(script, script, "parent").default
|
|
@@ -22,28 +21,7 @@ do
|
|
|
22
21
|
self.forge = forge
|
|
23
22
|
end
|
|
24
23
|
function RulesManager:applyRules(name)
|
|
25
|
-
|
|
26
|
-
local appData = AppRegistry[_name]
|
|
27
|
-
local _rules = appData
|
|
28
|
-
if _rules ~= nil then
|
|
29
|
-
_rules = _rules.rules
|
|
30
|
-
end
|
|
31
|
-
local rules = _rules
|
|
32
|
-
if not rules then
|
|
33
|
-
return nil
|
|
34
|
-
end
|
|
35
|
-
local _result = rules
|
|
36
|
-
if _result ~= nil then
|
|
37
|
-
_result = _result.group
|
|
38
|
-
end
|
|
39
|
-
if _result == "Core" then
|
|
40
|
-
return nil
|
|
41
|
-
end
|
|
42
|
-
local _value = rules.parent
|
|
43
|
-
if _value ~= "" and _value then
|
|
44
|
-
ParentRule(name, self.forge)
|
|
45
|
-
end
|
|
46
|
-
return nil
|
|
24
|
+
ParentRule(name, self.forge)
|
|
47
25
|
end
|
|
48
26
|
end
|
|
49
27
|
return {
|