deduplication 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6,7 +6,7 @@
6
6
  function deduplication(arr,type=1) {
7
7
  switch(type){
8
8
  case 1:
9
- method1(arr);
9
+ return method1(arr);
10
10
  break;
11
11
  case 2:
12
12
  method2(arr);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deduplication",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "index.js",
5
5
  "repository": "",
6
6
  "author": "henry",