@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 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
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2014-2022 Quenty
3
+ Copyright (c) 2014-2023 James Onnen (Quenty)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/loader",
3
- "version": "6.2.0",
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": "e62b5eac2e5d9084ab9083f128452dd2d98b6f1a"
29
+ "gitHead": "0b250b1557f7ac594d38498c5d69af79a96f8bcf"
30
30
  }
@@ -195,8 +195,12 @@ function PackageInfoUtils.tryLoadPackageFromInstance(
195
195
  table.insert(packageInfoList, PackageInfoUtils.getOrCreatePackageInfo(
196
196
  value, packageInfoMap, scope, defaultReplicationType))
197
197
  else
198
- error(("Invalid %q ObjectValue in package linking to nothing cannot be resolved into package dependency\n\t-> %s")
199
- :format(instance.Name, instance:GetFullName()))
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