(str: string, type: string, change: string)
| 886 | } |
| 887 | |
| 888 | function buildNewConfigString(str: string, type: string, change: string) { |
| 889 | return str.replace(new RegExp(`(${type}: )('\\w*')`), `$1'${change}'`) |
| 890 | } |
| 891 | |
| 892 | export function replaceConfig(config: string, type: string, name: string) { |
| 893 | if (type === 'framework') { |
no outgoing calls
no test coverage detected
searching dependent graphs…