(commands: readonly string[])
| 711 | } |
| 712 | |
| 713 | function validateCommands(commands: readonly string[]): void { |
| 714 | for (let i = 0; i < commands.length; i++) { |
| 715 | const cmd = commands[i]; |
| 716 | if (cmd == null) { |
| 717 | throw new RuntimeError( |
| 718 | RuntimeErrorCode.NULLISH_COMMAND, |
| 719 | (typeof ngDevMode === 'undefined' || ngDevMode) && |
| 720 | `The requested path contains ${cmd} segment at index ${i}`, |
| 721 | ); |
| 722 | } |
| 723 | } |
| 724 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…