From c114a6f85214d38cf8bda1d8eda9cb5a74091abb Mon Sep 17 00:00:00 2001 From: Harsh Saglani Date: Sun, 23 Aug 2020 15:30:28 +0530 Subject: [PATCH] Minor typographical fixes (#20) * fix typo. indec -> index * fix typo. indec -> index alongwith -> along with --- dist/index.js | 4 ++-- index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index e20bc21..9967ae1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1511,7 +1511,7 @@ const toUrlFormat = (item) => { /** * Execute shell command * @param {String} cmd - root command - * @param {String[]} args - args to be passed alongwith + * @param {String[]} args - args to be passed along with * * @returns {Promise} */ @@ -1601,7 +1601,7 @@ Toolkit.run( const readmeContent = fs.readFileSync("./README.md", "utf-8").split("\n"); - // Find the indec corresponding to comment + // Find the index corresponding to comment let startIdx = readmeContent.findIndex( (content) => content.trim() === "" ); diff --git a/index.js b/index.js index b27e99b..dacb976 100644 --- a/index.js +++ b/index.js @@ -36,7 +36,7 @@ const toUrlFormat = (item) => { /** * Execute shell command * @param {String} cmd - root command - * @param {String[]} args - args to be passed alongwith + * @param {String[]} args - args to be passed along with * * @returns {Promise} */ @@ -126,7 +126,7 @@ Toolkit.run( const readmeContent = fs.readFileSync("./README.md", "utf-8").split("\n"); - // Find the indec corresponding to comment + // Find the index corresponding to comment let startIdx = readmeContent.findIndex( (content) => content.trim() === "" );