(projectId: string, config: WebConfig)
| 43 | const CONFIGSTORE_KEY = "webconfig"; |
| 44 | |
| 45 | function setCachedWebSetup(projectId: string, config: WebConfig): void { |
| 46 | const allConfigs = configstore.get(CONFIGSTORE_KEY) || {}; |
| 47 | allConfigs[projectId] = config; |
| 48 | configstore.set(CONFIGSTORE_KEY, allConfigs); |
| 49 | } |
| 50 | |
| 51 | /** |
| 52 | * Get the last known WebConfig from the cache. |
no test coverage detected
searching dependent graphs…