betterstart-cli 0.0.10 → 0.0.11
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 +4 -1
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1254,6 +1254,9 @@ var DRIZZLE_CONFIG_BANNER_PATTERNS = [
|
|
|
1254
1254
|
/^Reading config file '.+drizzle\.config\.ts'$/,
|
|
1255
1255
|
/^Using 'pg' driver for database querying$/
|
|
1256
1256
|
];
|
|
1257
|
+
function resolveDrizzlePushStdio(inheritStdio) {
|
|
1258
|
+
return inheritStdio ? "inherit" : "pipe";
|
|
1259
|
+
}
|
|
1257
1260
|
function shouldSuppressWarningLine(line, state) {
|
|
1258
1261
|
const text6 = line.trimEnd();
|
|
1259
1262
|
if (state.suppressNextTraceHint) {
|
|
@@ -1323,7 +1326,7 @@ function runDrizzlePush(cwd, options = {}) {
|
|
|
1323
1326
|
const drizzleBin = path9.join(cwd, "node_modules", ".bin", "drizzle-kit");
|
|
1324
1327
|
const child = spawn2(drizzleBin, ["push", "--force"], {
|
|
1325
1328
|
cwd,
|
|
1326
|
-
stdio: options.inheritStdio
|
|
1329
|
+
stdio: resolveDrizzlePushStdio(options.inheritStdio),
|
|
1327
1330
|
env: { ...process.env }
|
|
1328
1331
|
});
|
|
1329
1332
|
let stdout = "";
|