Skip to content

Commit d954ccd

Browse files
committed
Totally ignore tty error
1 parent d9d7757 commit d954ccd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/graphql/server.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@ function createServer({
3939

4040
proc.stderr.once('data', chunk => {
4141
const msg = Buffer.from(chunk, 'utf-8').toString();
42-
console.error(msg);
42+
// CI logs this error but it doesn’t matter
4343
if (msg.includes(`can't open terminal /dev/tty`)) {
4444
return;
4545
}
46-
46+
47+
console.error(msg);
4748
if (!settled) {
4849
settled = true;
4950
proc.kill();

0 commit comments

Comments
 (0)