feat: release 2.5.1
This commit is contained in:
+3
-1
@@ -25,7 +25,9 @@ export async function runExec(
|
||||
): Promise<number> {
|
||||
if (!deployment) throw new Error("Deployment name is required");
|
||||
if (command.length === 0) throw new Error("Command is required");
|
||||
const tty = Boolean(process.stdin.isTTY && process.stdout.isTTY);
|
||||
const tty = Boolean(
|
||||
process.stdin.isTTY && process.stdout.isTTY && process.stdin.isRaw,
|
||||
);
|
||||
const session: ExecApiSession = await opener(
|
||||
project,
|
||||
{ deployment, command, tty, ...(tty ? terminalSize() : {}) },
|
||||
|
||||
Reference in New Issue
Block a user