@shimotsuki/core 2.0.33 → 2.0.34

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2855,7 +2855,7 @@ class Manager {
2855
2855
  if (typeof target !== 'string') {
2856
2856
  throw new Error(`merge方法第一个参数应该为string类型`);
2857
2857
  }
2858
- if (Reflect.get(this, target)) {
2858
+ if (!Reflect.get(this, target)) {
2859
2859
  Reflect.set(this, target, source);
2860
2860
  }
2861
2861
  Object.assign(Reflect.get(this, target), source);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shimotsuki/core",
3
- "version": "2.0.33",
3
+ "version": "2.0.34",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",