You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Linux
Describe the Bug
If a symlinked directory exists in the in a globalDependencies matching path, turborepo will throw with error hashing files. make sure that git has been initialized git hash-object exited with status: exit status 128.
This is because we collect all the file names to pass to git hash-object by grabbing all via GlobFiles->Walk->WalkMode. In the case of a symlinked directory, info.isDir()=false, causing a directory path to be passed to git hash-object (which is dissallowed)
Expected Behavior
Symlinked directories also be excluded. Fortunately, godirwalk already supported this via IsDirOrSymlinkToDir