Files
skills-here-run-place/node_modules/execa/lib/ipc/array.js
Alejandro Martinez f09af719cf Initial commit
2026-02-12 02:04:10 +01:00

5 lines
196 B
JavaScript

// The `ipc` option adds an `ipc` item to the `stdio` option
export const normalizeIpcStdioArray = (stdioArray, ipc) => ipc && !stdioArray.includes('ipc')
? [...stdioArray, 'ipc']
: stdioArray;