Skip to content
Myr

array.js

This file

Path

lib/ipc/array.js

4 lines · 196 bytes · JavaScript

Last changed by

Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68

History of this file

Take it

Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68

lines 1–4why, one step back
1// The `ipc` option adds an `ipc` item to the `stdio` option
2export const normalizeIpcStdioArray = (stdioArray, ipc) => ipc && !stdioArray.includes('ipc')3 ? [...stdioArray, 'ipc']4 : stdioArray;