@lark-apaas/fullstack-cli 1.1.6-alpha.14 → 1.1.6-alpha.15
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/index.js +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -141,8 +141,7 @@ async function run(options = {}) {
|
|
|
141
141
|
console.log("[gen-db-schema] Starting...");
|
|
142
142
|
const __filename = fileURLToPath(import.meta.url);
|
|
143
143
|
const __dirname2 = path.dirname(__filename);
|
|
144
|
-
const
|
|
145
|
-
const configPath = path.join(cliRoot, "config", "drizzle.config.js");
|
|
144
|
+
const configPath = path.join(__dirname2, "config", "drizzle.config.js");
|
|
146
145
|
if (!fs.existsSync(configPath)) {
|
|
147
146
|
console.error("[gen-db-schema] Error: drizzle config not found in CLI package");
|
|
148
147
|
process.exit(1);
|