Function
assertConnectProviderUsage
(provider: ConnectProvider | undefined, flags: CliFlags)
Source from the content-addressed store, hash-verified
| 119 | } |
| 120 | |
| 121 | function assertConnectProviderUsage(provider: ConnectProvider | undefined, flags: CliFlags): void { |
| 122 | if (!provider || !flags.remoteConfig) return; |
| 123 | throw new AppError( |
| 124 | 'INVALID_ARGS', |
| 125 | 'connect provider positional and --remote-config are mutually exclusive.', |
| 126 | ); |
| 127 | } |
| 128 | |
| 129 | function readRequiredConnectScope( |
| 130 | flags: CliFlags, |
Tested by
no test coverage detected