@rbxts/covenant 1.0.13 → 1.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/covenant",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "main": "src/init.luau",
5
5
  "scripts": {
6
6
  "build": "rbxtsc",
package/src/covenant.luau CHANGED
@@ -434,7 +434,7 @@ do
434
434
  function Covenant:checkComponentDefined(component)
435
435
  local _undefinedStringifiedComponents = self.undefinedStringifiedComponents
436
436
  local _arg0 = tostring(component)
437
- local _arg0_1 = not (_undefinedStringifiedComponents[_arg0] ~= nil)
437
+ local _arg0_1 = _undefinedStringifiedComponents[_arg0] ~= nil
438
438
  local _arg1 = `Component {component} is already defined`
439
439
  assert(_arg0_1, _arg1)
440
440
  local _undefinedStringifiedComponents_1 = self.undefinedStringifiedComponents