Skip to content

Commit

Permalink
doc: fix typo in code example of 'path' module
Browse files Browse the repository at this point in the history
PR-URL: #10136
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
pallxk authored and Fishrock123 committed Dec 13, 2016
1 parent 3f269cc commit 40b0ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/path.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ On POSIX:

```js
path.basename('C:\\temp\\myfile.html');
// Returns: 'C:\temp\myfile.html'
// Returns: 'C:\\temp\\myfile.html'
```

On Windows:
Expand Down

0 comments on commit 40b0ca1

Please sign in to comment.