mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
fix(server): avoid shadowed path parameter in workspace reconciliation
This commit is contained in:
@@ -760,7 +760,7 @@ async function findAffectedCheckoutDirectories(
|
||||
result = resolveRealpath(path)
|
||||
.catch(() => resolveNativeRealpath(path))
|
||||
.then(
|
||||
(path) => ({ path, missing: false }),
|
||||
(resolvedPath) => ({ path: resolvedPath, missing: false }),
|
||||
(error) => ({ path, missing: isMissingPathError(error) }),
|
||||
);
|
||||
resolved.set(path, result);
|
||||
|
||||
Reference in New Issue
Block a user