@lorrylurui/code-intelligence-mcp 1.1.3 → 1.1.5
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/dist/services/reindex.js +2 -2
- package/package.json +1 -1
package/dist/services/reindex.js
CHANGED
|
@@ -21,8 +21,8 @@ export async function runReindex(options = {}) {
|
|
|
21
21
|
let pool = null;
|
|
22
22
|
if (!dryRun) {
|
|
23
23
|
if (!mysqlEnabled) {
|
|
24
|
-
throw new Error(
|
|
25
|
-
|
|
24
|
+
throw new Error(`最新!${JSON.stringify(process.env)}执行 reindex 写入数据库需要 MYSQL_ENABLED=true。' +
|
|
25
|
+
'第三方项目可在 .env 中配置此变量(未配置则使用 MCP Server 本地配置)。`);
|
|
26
26
|
}
|
|
27
27
|
validateEnv();
|
|
28
28
|
pool = getMySqlPool();
|