From d1bcba9431a29e4c5bc53ae41013378e4ccd4375 Mon Sep 17 00:00:00 2001 From: Kapil Jhajhria Date: Fri, 14 May 2021 12:48:34 +0530 Subject: [PATCH] fixed variable name: it should be filepath, not filename --- NodeJS/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NodeJS/README.md b/NodeJS/README.md index 22f990b..90bb2e5 100644 --- a/NodeJS/README.md +++ b/NodeJS/README.md @@ -13,7 +13,7 @@ This main file, `geektrust.js` should receive in the command line argument and p For e.g your `geektrust.js` file will look like this ```javascript -const filename = process.argv[2]; +const filepath = process.argv[2]; // parse the file and process the command // print the output ``` @@ -53,7 +53,7 @@ This main file, `geektrust.js` should receive in the command line argument and p For e.g your `geektrust.js` file will look like this ```javascript -const filename = process.argv[2]; +const filepath = process.argv[2]; // parse the file and process the command // print the output ```