mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-03 09:37:19 +01:00
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:
1 parent
5fd292dd77
commit
4892e5c5b2
3 files changed
+21
-7
No files matched your search
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user