(configName: string)
| 216 | } |
| 217 | |
| 218 | export function getNsJailCfgFilePath(configName: string): string { |
| 219 | const propKey = `nsjail.config.${configName}`; |
| 220 | const configPath = execProps<string>(propKey); |
| 221 | if (configPath === undefined) { |
| 222 | logger.error(`Could not find ${propKey}. Are you missing a definition?`); |
| 223 | throw new Error(`Missing nsjail execution config property key ${propKey}`); |
| 224 | } |
| 225 | return configPath; |
| 226 | } |
| 227 | |
| 228 | export function getCeWrapperCfgFilePath(configName: string): string { |
| 229 | const propKey = `cewrapper.config.${configName}`; |
no test coverage detected