Apply suggestion from @greptile-apps[bot]
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
@@ -27,15 +27,15 @@ async function cmdRun(): Promise<void> {
|
||||
|
||||
const { worktreeNum } = entry;
|
||||
|
||||
killOwnPorts(worktreeNum);
|
||||
killTmuxSession(tmuxSessionName(worktreeNum));
|
||||
|
||||
if (process.env.PW_MODE !== "1") {
|
||||
fatal(
|
||||
"PW_MODE=1 not set. Run via 'bun pw' (package.json script) — required so preload-env.ts skips .env.local.",
|
||||
);
|
||||
}
|
||||
|
||||
killOwnPorts(worktreeNum);
|
||||
killTmuxSession(tmuxSessionName(worktreeNum));
|
||||
|
||||
const offset = (worktreeNum - 1) * 100;
|
||||
const env: Record<string, string> = {
|
||||
...(process.env as Record<string, string>),
|
||||
|
||||
Reference in New Issue
Block a user