(c)
| 19 | } |
| 20 | |
| 21 | static cmd (c) { |
| 22 | const command = deref(c) |
| 23 | if (!command) { |
| 24 | throw Object.assign(new Error(`Unknown command ${c}`), { |
| 25 | code: 'EUNKNOWNCOMMAND', |
| 26 | command: c, |
| 27 | }) |
| 28 | } |
| 29 | return require(`./commands/${command}`) |
| 30 | } |
| 31 | |
| 32 | unrefPromises = [] |
| 33 | updateNotification = null |
no test coverage detected