Skip to content

Commit

Permalink
doc: fix '\\' typos on Windows
Browse files Browse the repository at this point in the history
This commit changes the Windows examples in path.markdown to
correctly display '\\'.

PR-URL: nodejs/node-v0.x-archive#9412
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
stcruy authored and cjihrig committed Mar 16, 2015
1 parent 89bf6c0 commit e6e616f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/path.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ An example on Windows:

process.env.PATH.split(path.delimiter)
// returns
['C:\Windows\system32', 'C:\Windows', 'C:\Program Files\iojs\']
['C:\\Windows\\system32', 'C:\\Windows', 'C:\\Program Files\\iojs\\']

## path.parse(pathString)

Expand All @@ -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"
Expand Down

0 comments on commit e6e616f

Please sign in to comment.