mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-24 22:48:06 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
11 lines
290 B
TypeScript
11 lines
290 B
TypeScript
import { getCache } from '../cache/repository/index.ts';
|
|
|
|
export function getCachedPristineResult(branchName: string): boolean {
|
|
const cache = getCache();
|
|
const branch = cache.branches?.find(
|
|
(branch) => branch.branchName === branchName,
|
|
);
|
|
|
|
return branch?.pristine ?? false;
|
|
}
|