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
According to the documentation for path.extname(path):
If there is no . in the last portion of the path, or if the first character of the basename of path (see path.basename()) is ., then an empty string is returned.
path.basename('.a.a')[0]=='.' and path.extname('.a.a')!='' should not happen at the same time.
This seems to be an issue with our documentation and it should be updated to reflect that it will only return an empty string in case the first character is a dot and it is also the only dot returned by path.basename.
Activity
BridgeAR commentedon Apr 18, 2019
This seems to be an issue with our documentation and it should be updated to reflect that it will only return an empty string in case the first character is a dot and it is also the only dot returned by
path.basename.anliting commentedon Apr 18, 2019
I would describe it like this:
himself65 commentedon Apr 20, 2019
Landed in 290faec
pls close this issue