koishi-plugin-toram 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/lib/index.js +1 -3
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -86,8 +86,8 @@ async function apply(ctx) {
86
86
  arr2 = [];
87
87
  for (i = 0; i <= n; i++) {
88
88
  y = arr1.indexOf(Math.max(...arr1));
89
- arr2.push(y);
90
89
  arr1[y] = 0;
90
+ arr2.push(y);
91
91
  }
92
92
  ;
93
93
  for (i = 0; i <= n; i++) {
@@ -118,7 +118,6 @@ async function apply(ctx) {
118
118
  if (i != n) {
119
119
  text += '\n';
120
120
  }
121
- ;
122
121
  }
123
122
  ;
124
123
  return text;
@@ -158,4 +157,3 @@ async function apply(ctx) {
158
157
  });
159
158
  }
160
159
  exports.apply = apply;
161
- ;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-toram",
3
3
  "description": "托拉姆物语工具捏",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [