From 0469abd4a9c9270a1fdc962969e36e63699af8b4 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 10 Dec 2017 21:51:33 +0100 Subject: upgrade dependencies --- node_modules/remove-trailing-separator/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node_modules/remove-trailing-separator/readme.md') diff --git a/node_modules/remove-trailing-separator/readme.md b/node_modules/remove-trailing-separator/readme.md index 612fe3de4..747086af8 100644 --- a/node_modules/remove-trailing-separator/readme.md +++ b/node_modules/remove-trailing-separator/readme.md @@ -26,7 +26,7 @@ removeTrailingSeparator('///') // '/' removeTrailingSeparator('') // '' ``` -## Backslash, or win32 separator +## Notable backslash, or win32 separator behavior `\` is considered a separator only on WIN32 systems. All POSIX compliant systems see backslash as a valid file name character, so it would break POSIX compliance @@ -35,7 +35,7 @@ to remove it there. In practice, this means that this code will return different things depending on what system it runs on: -``` +```js removeTrailingSeparator('\\foo\\') // UNIX => '\\foo\\' // WIN32 => '\\foo' -- cgit v1.2.3