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(
21
21
22
22
{
23
23
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 ,
27
28
syscall : 'uv_tty_init'
28
29
} ;
29
30
30
- const suffix = common . isWindows ?
31
+ const suffix = common . isWindows || common . isIBMi ?
31
32
'EBADF (bad file descriptor)' : 'EINVAL (invalid argument)' ;
32
33
const message = `TTY initialization failed: uv_tty_init returned ${ suffix } ` ;
33
34
You can’t perform that action at this time.
0 commit comments