mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 06:51:11 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
24 lines
445 B
TypeScript
24 lines
445 B
TypeScript
import type { RepoCache, RepoCacheData } from '../types.ts';
|
|
|
|
export class RepoCacheNull implements RepoCache {
|
|
private data: RepoCacheData = {};
|
|
|
|
// istanbul ignore next
|
|
load(): Promise<void> {
|
|
return Promise.resolve();
|
|
}
|
|
|
|
// istanbul ignore next
|
|
save(): Promise<void> {
|
|
return Promise.resolve();
|
|
}
|
|
|
|
getData(): RepoCacheData {
|
|
return this.data;
|
|
}
|
|
|
|
isModified(): boolean | undefined {
|
|
return undefined;
|
|
}
|
|
}
|