Address dev runner snapshot review feedback
This commit is contained in:
@@ -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