(command: string, args?: ExecSyncOptions)
| 25 | const warnings: [string, ...any[]][] = []; |
| 26 | |
| 27 | const exec = (command: string, args?: ExecSyncOptions) => { |
| 28 | try { |
| 29 | return { |
| 30 | output: execSync(command, args).toString(), |
| 31 | code: 0, |
| 32 | }; |
| 33 | } catch (e) { |
| 34 | return { |
| 35 | code: e.status, |
| 36 | message: e.message, |
| 37 | }; |
| 38 | } |
| 39 | }; |
| 40 | const sleep = (t: number) => new Promise((r) => { setTimeout(r, t); }); |
| 41 | |
| 42 | const shmFAQ = 'https://docs.hydro.ac/FAQ/#%E8%B0%83%E6%95%B4%E4%B8%B4%E6%97%B6%E7%9B%AE%E5%BD%95%E5%A4%A7%E5%B0%8F'; |
no outgoing calls
no test coverage detected