(configName: string)
| 226 | } |
| 227 | |
| 228 | export function getCeWrapperCfgFilePath(configName: string): string { |
| 229 | const propKey = `cewrapper.config.${configName}`; |
| 230 | const configPath = execProps<string>(propKey); |
| 231 | if (configPath === undefined) { |
| 232 | logger.error(`Could not find '${propKey}'. Are you missing a definition?`); |
| 233 | throw new Error(`Missing cewrapper execution config property key '${propKey}'`); |
| 234 | } |
| 235 | return path.resolve(configPath); |
| 236 | } |
| 237 | |
| 238 | export function getFirejailProfileFilePath(profileName: string): string { |
| 239 | const propKey = `firejail.profile.${profileName}`; |
no test coverage detected