(exit)
| 25 | } |
| 26 | |
| 27 | const validateExit = (exit) => { |
| 28 | if (exit !== undefined && typeof exit !== 'boolean') { |
| 29 | throw new TypeError(`Option "exit" must be a boolean: ${exit}`) |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | // `console` should be referenced inside this function, not outside, as user |
| 34 | // might monkey patch it. |
no outgoing calls
no test coverage detected
searching dependent graphs…