(portOption)
| 88 | } |
| 89 | |
| 90 | function parsePortOption(portOption) { |
| 91 | let parsedServerUrl = utils.parseUrl(portOption); |
| 92 | |
| 93 | if (!parsedServerUrl.port) { |
| 94 | Console.error("--port must include a port."); |
| 95 | throw new main.ExitWithCode(1); |
| 96 | } |
| 97 | |
| 98 | return parsedServerUrl; |
| 99 | } |
| 100 | |
| 101 | function parseMobileServerOption(mobileServerOption, |
| 102 | optionName = 'mobile-server') { |
no test coverage detected
searching dependent graphs…