fix(fs): keep list paths in requested space through symlinks
Closes openchamber/openchamber#2627 Listing a directory through a workspace symlink was returning realpath entry paths. The file tree then rejected nested expand toggles because those paths fall outside the workspace root. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com>
This commit is contained in:
co-authored by
Serhii Dziupin
parent
22766fe0ac
commit
ee57088dfe
@@ -454,7 +454,7 @@ export const registerFsRoutes = (app, dependencies) => {
|
||||
// Non-cacheable commands always execute and are never stored.
|
||||
const runCommandWithGitReadCache = async ({ shell, shellFlag, command, resolvedCwd }) => {
|
||||
const cacheable = gitReadCacheTtlMs > 0 && isCacheableGitReadCommand(command);
|
||||
const cacheKey = cacheable ? `${resolvedCwd} | ||||