(target: Record<string, unknown>, keys: string[])
| 167 | } |
| 168 | |
| 169 | function getTargetValue(target: Record<string, unknown>, keys: string[]) { |
| 170 | const key = keys[0]; |
| 171 | if (!key) { |
| 172 | throw new Error( |
| 173 | "Cannot parse the TOML: key length is not a positive number", |
| 174 | ); |
| 175 | } |
| 176 | return target[key]; |
| 177 | } |
| 178 | |
| 179 | function deepAssignTable( |
| 180 | target: Record<string, unknown>, |
no outgoing calls
no test coverage detected