fix(core): resolve post-rebase type errors

This commit is contained in:
Peter Steinberger
2026-03-02 21:39:37 +00:00
parent 58cde87436
commit f7c658efb9
3 changed files with 12 additions and 4 deletions

View File

@@ -365,6 +365,9 @@ async function readAllowFromStateForPathWithExists(
if (cachedOrMissing) {
return cachedOrMissing;
}
if (!stat) {
return { entries: [], exists: false };
}
const { value, exists } = await readJsonFile<AllowFromStore>(filePath, {
version: 1,
@@ -402,6 +405,9 @@ function readAllowFromStateForPathSyncWithExists(
if (cachedOrMissing) {
return cachedOrMissing;
}
if (!stat) {
return { entries: [], exists: false };
}
let raw = "";
try {