@@ -429,7 +429,7 @@ const captureLargerStackTrace = hideStackFrames(
429429 * @returns {Error}
430430 */
431431const uvException = hideStackFrames(function uvException(ctx) {
432- const [ code, uvmsg] = uvErrmapGet(ctx.errno) || uvUnmappedError;
432+ const { 0: code, 1: uvmsg } = uvErrmapGet(ctx.errno) || uvUnmappedError;
433433 let message = `${code}: ${ctx.message || uvmsg}, ${ctx.syscall}`;
434434
435435 let path;
@@ -485,7 +485,7 @@ const uvException = hideStackFrames(function uvException(ctx) {
485485 */
486486const uvExceptionWithHostPort = hideStackFrames(
487487 function uvExceptionWithHostPort(err, syscall, address, port) {
488- const [ code, uvmsg] = uvErrmapGet(err) || uvUnmappedError;
488+ const { 0: code, 1: uvmsg } = uvErrmapGet(err) || uvUnmappedError;
489489 const message = `${syscall} ${code}: ${uvmsg}`;
490490 let details = '';
491491
@@ -1243,7 +1243,8 @@ E('ERR_MANIFEST_ASSERT_INTEGRITY',
12431243 }" does not match the expected integrity.`;
12441244 if (realIntegrities.size) {
12451245 const sri = ArrayPrototypeJoin(
1246- ArrayFrom(realIntegrities.entries(), ([alg, dgs]) => `${alg}-${dgs}`),
1246+ ArrayFrom(realIntegrities.entries(),
1247+ ({ 0: alg, 1: dgs }) => `${alg}-${dgs}`),
12471248 ' '
12481249 );
12491250 msg += ` Integrities found are: ${sri}`;
0 commit comments