path-util: don't add extra "/" when prefix already is suffixed by slash
No need to insert duplicate "/" if we can avoid it. This is particularly relevant if the prefix passed in is the root directory.
Loading
Please register or sign in to comment