@quenty/loader 6.2.0 → 6.2.1
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/CHANGELOG.md +11 -0
- package/LICENSE.md +1 -1
- package/package.json +2 -2
- package/src/PackageInfoUtils.lua +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [6.2.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/loader@6.2.0...@quenty/loader@6.2.1) (2023-04-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Loader provides better error message ([777f5eb](https://github.com/Quenty/NevermoreEngine/commit/777f5eb7764f6dad39f9ed7e0d11d717ac609d56))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [6.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/loader@6.1.0...@quenty/loader@6.2.0) (2023-03-05)
|
|
7
18
|
|
|
8
19
|
|
package/LICENSE.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/loader",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.1",
|
|
4
4
|
"description": "A simple module loader for Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "0b250b1557f7ac594d38498c5d69af79a96f8bcf"
|
|
30
30
|
}
|
package/src/PackageInfoUtils.lua
CHANGED
|
@@ -195,8 +195,12 @@ function PackageInfoUtils.tryLoadPackageFromInstance(
|
|
|
195
195
|
table.insert(packageInfoList, PackageInfoUtils.getOrCreatePackageInfo(
|
|
196
196
|
value, packageInfoMap, scope, defaultReplicationType))
|
|
197
197
|
else
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
local message = string.format("Invalid %q ObjectValue in package linking to nothing cannot be resolved into package dependency\n\t-> %s",
|
|
199
|
+
instance.Name,
|
|
200
|
+
instance:GetFullName())
|
|
201
|
+
message = message .. "\n\tTIP: This happens when Rojo fails to clean out an object value. Try disconnecting Rojo and reconnecting"
|
|
202
|
+
|
|
203
|
+
error(message)
|
|
200
204
|
end
|
|
201
205
|
end
|
|
202
206
|
end
|