tuist icon indicating copy to clipboard operation
tuist copied to clipboard

Symlink not followed with --path parameter

Open adellibovi opened this issue 3 years ago • 0 comments

Currently, when passing the project path via --path to any command, we are not resolving symlink, which in some case can make certain behaviours failing. As an example, changing @cache_dir to a custom directory in workspace.rb and running fourier test tuist acceptance projects/tuist/features/cache-frameworks.feature:3 will make the test fail. This specific case happens as the temp directory is returned as /var/randomname, which is symlinked to /private/var/randomname, when resolving project relatives paths it will result in wrong relatives paths.

adellibovi avatar Apr 03 '21 19:04 adellibovi