mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-24 18:19:05 +02:00
Address dev runner snapshot review feedback
This commit is contained in:
1 parent
8f25ba6381
commit
dc58544832
2 files changed
+24
-6
No files matched your search
@@ -9,7 +9,12 @@ const defaultFileSystem = {
|
||||
};
|
||||
|
||||
export function isMissingPathError(error) {
|
||||
return typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT";
|
||||
return (
|
||||
typeof error === "object" &&
|
||||
error !== null &&
|
||||
"code" in error &&
|
||||
(error.code === "ENOENT" || error.code === "ENOTDIR")
|
||||
);
|
||||
}
|
||||
|
||||
function toRelativePath(repoRoot, absolutePath) {
|
||||
|
||||
Reference in new issue
Block a user