File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,14 @@ assert.throws(
2121
2222{
2323 const info = {
24- code : common . isWindows ? 'EBADF' : 'EINVAL' ,
25- message : common . isWindows ? 'bad file descriptor' : 'invalid argument' ,
26- errno : common . isWindows ? UV_EBADF : UV_EINVAL ,
24+ code : common . isWindows || common . isIBMi ? 'EBADF' : 'EINVAL' ,
25+ message : common . isWindows ||
26+ common . isIBMi ? 'bad file descriptor' : 'invalid argument' ,
27+ errno : common . isWindows || common . isIBMi ? UV_EBADF : UV_EINVAL ,
2728 syscall : 'uv_tty_init'
2829 } ;
2930
30- const suffix = common . isWindows ?
31+ const suffix = common . isWindows || common . isIBMi ?
3132 'EBADF (bad file descriptor)' : 'EINVAL (invalid argument)' ;
3233 const message = `TTY initialization failed: uv_tty_init returned ${ suffix } ` ;
3334
You can’t perform that action at this time.
0 commit comments