(
configKey: string,
configValue: string,
globalConfig?: boolean,
add?: boolean
)
| 93 | } |
| 94 | |
| 95 | async config( |
| 96 | configKey: string, |
| 97 | configValue: string, |
| 98 | globalConfig?: boolean, |
| 99 | add?: boolean |
| 100 | ): Promise<void> { |
| 101 | const args: string[] = ['config', globalConfig ? '--global' : '--local'] |
| 102 | if (add) { |
| 103 | args.push('--add') |
| 104 | } |
| 105 | args.push(...[configKey, configValue]) |
| 106 | await this.exec(args) |
| 107 | } |
| 108 | |
| 109 | async configExists( |
| 110 | configKey: string, |
no test coverage detected