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
After #99 was merged, there are still a few paths that are detected as correct paths:
/
/usr
This is because for the check to detect these paths, bin/dart is appended to the end of the path. /bin/dart (which is / + bin/dart) evaluates to /usr/bin/dart (which is /usr + bin/dart) which is a symlink to /usr/lib/dart/bin/dart, which is technically working it's just not very pretty.
My suggestions would be to "blacklist" / and /usr as paths and always return false if these are entered. WDYT?
The text was updated successfully, but these errors were encountered:
After #99 was merged, there are still a few paths that are detected as correct paths:
This is because for the check to detect these paths,
bin/dart
is appended to the end of the path./bin/dart
(which is/
+bin/dart
) evaluates to/usr/bin/dart
(which is/usr
+bin/dart
) which is a symlink to/usr/lib/dart/bin/dart
, which is technically working it's just not very pretty.My suggestions would be to "blacklist"
/
and/usr
as paths and always return false if these are entered. WDYT?The text was updated successfully, but these errors were encountered: