nexusql 0.9.8 → 0.9.10
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/cli.js +1 -7
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3437,12 +3437,6 @@ async function gen(options = {}) {
|
|
|
3437
3437
|
}
|
|
3438
3438
|
spinner.succeed("Installed db extensions");
|
|
3439
3439
|
spinner.start("Loading schema into temp database...");
|
|
3440
|
-
if (targetSql.toLowerCase().includes("vector")) {
|
|
3441
|
-
const vectorLines = targetSql.split("\n").filter((line) => line.toLowerCase().includes("vector"));
|
|
3442
|
-
console.log("\n[DEBUG] SQL lines with 'vector':");
|
|
3443
|
-
vectorLines.forEach((line) => console.log(" ", line.trim()));
|
|
3444
|
-
console.log("");
|
|
3445
|
-
}
|
|
3446
3440
|
await tempDb.exec(targetSql);
|
|
3447
3441
|
spinner.succeed("Loaded schema into temp database");
|
|
3448
3442
|
if (options.verbose) {
|
|
@@ -3790,7 +3784,7 @@ function getReadline() {
|
|
|
3790
3784
|
rl = readline.createInterface({
|
|
3791
3785
|
input: process.stdin,
|
|
3792
3786
|
output: process.stdout,
|
|
3793
|
-
terminal: process.stdin.isTTY
|
|
3787
|
+
terminal: !!process.stdin.isTTY
|
|
3794
3788
|
});
|
|
3795
3789
|
rl.on("close", () => {
|
|
3796
3790
|
rl = null;
|