fix use of 'catch' instead of 'try'
This commit is contained in:
parent
a6e83683d5
commit
0bc45be287
|
@ -36,7 +36,7 @@ const infoHash = '(m.%5bO%83i%85S(3j%c1%26%3a%e0*z%60%d5';
|
||||||
'expected every response entry to resemble ip:port',
|
'expected every response entry to resemble ip:port',
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
})().catch(
|
})().then(
|
||||||
() => {
|
() => {
|
||||||
console.log('ok!');
|
console.log('ok!');
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
|
|
Loading…
Reference in a new issue