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
Basically, the number of ".." gets doubled because it's taking into account the relative symlink in "test/data/input"
Probably, you need to normalize the directory path relative to the directory containing the pubspec, before computing the relative symlink path for "packages"
BTW: this is not high priority--I was already in the process of fixing web_ui to not require symlinks to itself for tests. So I can unblock us on the web_ui side.
The text was updated successfully, but these errors were encountered:
I hit an interesting case where Pub's "packages" symlinks get confused. Consider this folder structure:
web_ui/
example/
test/data/input
example -> ../../../example
In this case, you end up with a packages symlink like this:
web_ui
example/
packages -> ../../../../../../packages
Basically, the number of ".." gets doubled because it's taking into account the relative symlink in "test/data/input"
Probably, you need to normalize the directory path relative to the directory containing the pubspec, before computing the relative symlink path for "packages"
BTW: this is not high priority--I was already in the process of fixing web_ui to not require symlinks to itself for tests. So I can unblock us on the web_ui side.
The text was updated successfully, but these errors were encountered: