array.js
This file
Path
lib/ipc/array.js
4 lines · 165 bytes · JavaScript
Last changed by
Remove the old `stdio: [..., 'ipc']` syntax (#1245)Sindre Sorhusbefore adoptiondcf611c
History of this fileTake it
Add promise-based IPC (#1059)ehmickybefore adoptionacc2b68
line 1why, one step back1// The `ipc` option adds an `ipc` item to the `stdio` optionRemove the old `stdio: [..., 'ipc']` syntax (#1245)Sindre Sorhusbefore adoptiondcf611c
line 2why, one step back2export const normalizeIpcStdioArray = (stdioArray, ipc) => ipcAdd promise-based IPC (#1059)ehmickybefore adoptionacc2b68
lines 3–4why, one step back3 ? [...stdioArray, 'ipc']4 : stdioArray;