Fix dirname so that dirname('/a/b/') -> '/a', like sh's does.
Before there was this comment:
Can't strip trailing slashes since module.js incorrectly
thinks dirname('/a/b/') should yield '/a/b' instead of '/a'.
But now, such thinking is corrected.
parent
e0d6f14b
Please register or sign in to comment