(name, fallback)
| 28 | |
| 29 | const argv = process.argv.slice(2); |
| 30 | const arg = (name, fallback) => { |
| 31 | const index = argv.indexOf(`--${name}`); |
| 32 | if (index < 0) return fallback; |
| 33 | const value = argv[index + 1]; |
| 34 | return value === undefined || value.startsWith('--') ? true : value; |
| 35 | }; |
| 36 | const ORIGIN = String(arg('origin', 'http://127.0.0.1:4392')).replace(/\/$/, ''); |
| 37 | const OUT = resolve(String(arg('out', 'verification/handtest-fixes-chat'))); |
| 38 | const PROFILE = resolve(String(arg('profile', join(OUT, '..', 'profile')))); |
no outgoing calls
no test coverage detected