From 2b64132101f179c30957e3c5f16fc47a8ec942e1 Mon Sep 17 00:00:00 2001 From: Steven Vercruysse Date: Sun, 15 Mar 2015 12:29:18 +0100 Subject: [PATCH] doc: fix '\\' typos on Windows This commit changes the Windows examples in path.markdown to correctly display '\\'. PR-URL: https://github.com/joyent/node/pull/9412 Reviewed-By: Colin Ihrig --- doc/api/path.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/path.markdown b/doc/api/path.markdown index 3489f1811f5..d4daeab46f4 100644 --- a/doc/api/path.markdown +++ b/doc/api/path.markdown @@ -200,7 +200,7 @@ An example on Windows: process.env.PATH.split(path.delimiter) // returns - ['C:\Windows\system32', 'C:\Windows', 'C:\Program Files\nodejs\'] + ['C:\\Windows\\system32', 'C:\\Windows', 'C:\\Program Files\\nodejs\\'] ## path.parse(pathString) @@ -223,8 +223,8 @@ An example on Windows: path.parse('C:\\path\\dir\\index.html') // returns { - root : "C:\", - dir : "C:\path\dir", + root : "C:\\", + dir : "C:\\path\\dir", base : "index.html", ext : ".html", name : "index"