(...args)
| 63 | |
| 64 | let debugOutput = false |
| 65 | function debug (...args) { |
| 66 | if (!debugOutput) return |
| 67 | console.log('\x1b[36m%s\x1b[0m', moment().format('YYYY-MM-DD HH:mm:ss.SSS'), ...args) |
| 68 | } |
| 69 | |
| 70 | main().then(() => { |
| 71 | console.log('Finished in', moment.duration(new Date() - scriptStartTime).asSeconds(), 'seconds') |