From 2c34c43dbe4f7a5aed0d0ec654b5fd7f224387dd Mon Sep 17 00:00:00 2001 From: jiangyu3 Date: Mon, 23 Jan 2023 17:26:11 +0800 Subject: [PATCH 1/2] fix: spelling errors in the example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f88fd3d..b7227f5 100644 --- a/README.md +++ b/README.md @@ -338,7 +338,7 @@ const envVarFormat = vars => ```js const envVarFormat = (vars) => { - let _ = Object.keys(vars); + let _ = Object.keys(vars) .map(var => `${var}=${vars[var]}`); .join(' '); return chalk.dim(_, 'node', args.join(' ')); From d676b099ebb562d26571ae2633b5cf924900cac6 Mon Sep 17 00:00:00 2001 From: jiangyu3 Date: Mon, 23 Jan 2023 17:30:03 +0800 Subject: [PATCH 2/2] fix: spelling errors in the example --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b7227f5..e4e8fc5 100644 --- a/README.md +++ b/README.md @@ -338,9 +338,9 @@ const envVarFormat = vars => ```js const envVarFormat = (vars) => { - let _ = Object.keys(vars) - .map(var => `${var}=${vars[var]}`); - .join(' '); + let _ = Object.keys(vars); + _ = _.map(var => `${var}=${vars[var]}`); + _ = _.join(' '); return chalk.dim(_, 'node', args.join(' ')); } ```