| 295 | } |
| 296 | |
| 297 | let debugLog = msg => { |
| 298 | if (!debug) { |
| 299 | return; |
| 300 | } |
| 301 | msg = msg || ''; |
| 302 | let prefix = '> '; |
| 303 | return console.log( |
| 304 | msg |
| 305 | .split('\n') |
| 306 | .map(line => chalk.grey(prefix + (line || ''))) |
| 307 | .join('\n') |
| 308 | ); |
| 309 | } |
| 310 | |
| 311 | let cb = (err, result, headers) => { |
| 312 |
nothing calls this directly
no outgoing calls
no test coverage detected