Closed iAmMrinal0 closed 5 years ago
Fixes #314 This happens only when run with --local flag and a package name is clicked as it doesn't have a specific file path in the URL.
--local
decodePathSegments adds an empty string if the path ends with a /
decodePathSegments
/
And because of this all (== '.') "" returns True which then makes it a bad path according to the previous logic.
all (== '.') ""
True
Thanks, fix looks good!
Fixes #314 This happens only when run with
--local
flag and a package name is clicked as it doesn't have a specific file path in the URL.decodePathSegments
adds an empty string if the path ends with a/
And because of this
all (== '.') ""
returnsTrue
which then makes it a bad path according to the previous logic.