Skip to content

Commit 09117a3

Browse files
Shubham ChaturvediOnur Laru
authored andcommitted
Docs: Fixed typo in path/index.md (nodejs#237)
* fixed typo in path/index.md * added username
1 parent 7c2ffa6 commit 09117a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/documentation/0047-node-module-path

src/documentation/0047-node-module-path/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 'The Node.js path module'
33
description: 'The path module of Node.js provides useful functions to interact with file paths'
4-
authors: flaviocopes, MylesBorins, fhemberger, LaRuaNa, amiller-gh, ahmadawais
4+
authors: flaviocopes, MylesBorins, fhemberger, LaRuaNa, amiller-gh, ahmadawais, 19shubham11
55
section: Getting Started
66
---
77

@@ -68,7 +68,7 @@ require('path').join('/', 'users', name, 'notes.txt') //'/users/joe/notes.txt'
6868
Tries to calculate the actual path when it contains relative specifiers like `.` or `..`, or double slashes:
6969

7070
```js
71-
require('path').normalize('/users/joe/..//test.txt') ///users/test.txt
71+
require('path').normalize('/users/joe/..//test.txt') //'/users/test.txt'
7272
```
7373

7474
### `path.parse()`

0 commit comments

Comments
 (0)