fix: address feature-map review findings

Normalize document line endings and specify the prerequisites for run-page workspace recovery controls.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-10-05 18:01:17 -05:00
1 parent 5fd292dd77
commit 4892e5c5b2
3 files changed
+21 -7

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ function entryIds(text, label, errors) {
export function checkFeatureMap(repoRoot = defaultRoot) {
const errors = [];
const mapRoot = resolve(repoRoot, "feature-map");
const read = (path) => readFileSync(resolve(repoRoot, path), "utf8");
const read = (path) => readFileSync(resolve(repoRoot, path), "utf8").replace(/\r\n?/g, "\n");
const normalize = (path) => relative(repoRoot, path).split(sep).join("/");
const isFile = (path) => existsSync(path) && statSync(path).isFile();
const localFile = (base, path) => {