()
| 11 | |
| 12 | class StateProviderBase implements IStateProvider { |
| 13 | getCacheState(): string | undefined { |
| 14 | const cacheKey = this.getState(State.CacheMatchedKey); |
| 15 | if (cacheKey) { |
| 16 | core.debug(`Cache state/key: ${cacheKey}`); |
| 17 | return cacheKey; |
| 18 | } |
| 19 | |
| 20 | return undefined; |
| 21 | } |
| 22 | |
| 23 | // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-empty-function |
| 24 | setState = (key: string, value: string) => {}; |