(cwd, key, value)
| 151 | } |
| 152 | |
| 153 | export function setConfig(cwd, key, value) { |
| 154 | return updateState(cwd, (state) => { |
| 155 | state.config = { |
| 156 | ...state.config, |
| 157 | [key]: value |
| 158 | }; |
| 159 | }); |
| 160 | } |
| 161 | |
| 162 | export function getConfig(cwd) { |
| 163 | return loadState(cwd).config; |
no test coverage detected