Skip to content

Commit 8edba11

Browse files
committed
fix(dev-env): do not show the update prompt when stdin is not a TTY
1 parent dbd02fa commit 8edba11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/dev-environment/dev-environment-core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export async function startEnvironment(
124124
}
125125

126126
let updated = false;
127-
if ( ! options.skipWpVersionsCheck ) {
127+
if ( ! options.skipWpVersionsCheck && process.stdin.isTTY ) {
128128
updated = await maybeUpdateWordPressImage( lando, slug );
129129
}
130130
updated = updated || ( await maybeUpdateVersion( lando, slug ) );

0 commit comments

Comments
 (0)