@q78kg/koishi-plugin-text-censor 1.0.4-beta.6 → 1.0.4-beta.7
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
@@ -60,7 +60,7 @@ var Config = import_koishi.Schema.intersect([
|
|
60
60
|
]);
|
61
61
|
function apply(ctx, config) {
|
62
62
|
let words = [];
|
63
|
-
for (const [
|
63
|
+
for (const [file] of config.textDatabase) {
|
64
64
|
const filePath = (0, import_node_path.resolve)(ctx.baseDir, file);
|
65
65
|
if (!(0, import_node_fs.existsSync)(filePath)) {
|
66
66
|
ctx.logger.warn(
|