join() return a illegal path
Closed this issue · 2 comments
luwuer commented
the join
return illegal path both on windows & linux
example
import 'package:path/path.dart' as path;
void main() {
print(path.join('/root', './bilibili.png'));
}
Linux
expection: /root/bilibili.png
actuality: /root/./bilibili.png
Windows
expection: \root\bilibili.png
actuality: /root\./bilibili.png
luwuer commented
i will work on this if necessary.
luwuer commented
oh!
join
has no invoke normalize
inline, but i can call it manually, so this is not a issue.