From 913e78711eafdf5fdfe24ed3a66db4d6a4caf205 Mon Sep 17 00:00:00 2001
From: Deep310 <55121371+Deep310@users.noreply.github.com>
Date: Wed, 20 May 2020 18:23:56 -0400
Subject: [PATCH] Updated a grammatical error

On line 76, it said, " The path.basename() methods returns the last portion....". I changed "methods" to "method".
---
 doc/api/path.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/api/path.md b/doc/api/path.md
index 945c1a0394ca46..8349bce252a56b 100644
--- a/doc/api/path.md
+++ b/doc/api/path.md
@@ -73,7 +73,7 @@ changes:
 * `ext` {string} An optional file extension
 * Returns: {string}
 
-The `path.basename()` methods returns the last portion of a `path`, similar to
+The `path.basename()` method returns the last portion of a `path`, similar to
 the Unix `basename` command. Trailing directory separators are ignored, see
 [`path.sep`][].