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
12345// The `ipc` option adds an `ipc` item to the `stdio` optionexport const normalizeIpcStdioArray = (stdioArray, ipc) => ipc ? [...stdioArray, 'ipc'] : stdioArray;