mirror of
https://github.com/morluto/rea.git
synced 2026-11-06 23:06:18 +00:00
fix(input)!: classify unresolvable source paths (#7847)
This commit is contained in:
1 parent
e79ad6ca8e
commit
5bef2b48b6
12 files changed
+175
-7
No files matched your search
@@ -127,6 +127,12 @@ export const prepareRoot = async (
|
||||
"Reference source root could not be resolved",
|
||||
);
|
||||
if (rootFailure === undefined) throw cause;
|
||||
return err(failure(rootFailure.code, `${rootFailure.message}: ${root}`));
|
||||
return err({
|
||||
...failure(rootFailure.code, `${rootFailure.message}: ${root}`),
|
||||
...(rootFailure.remediationAction === undefined
|
||||
? {}
|
||||
: { remediationAction: rootFailure.remediationAction }),
|
||||
cause,
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user