(code: string)
| 420 | } |
| 421 | |
| 422 | export function getUserConfigStr(code: string): string | null { |
| 423 | const start = code.indexOf("==UserConfig=="); |
| 424 | const end = code.indexOf("==/UserConfig=="); |
| 425 | if (start === -1 || end === -1) { |
| 426 | return null; |
| 427 | } |
| 428 | return `/* ${code.substring(start, end + 15)} */`; |
| 429 | } |
| 430 | |
| 431 | export const obtainBlackList = (strBlacklist: string | null | undefined) => { |
| 432 | const blacklist = strBlacklist |
no outgoing calls
no test coverage detected