Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornlf <quitlahok@gmail.com>2022-03-17 22:48:47 +0300
committernlf <quitlahok@gmail.com>2022-03-17 22:48:47 +0300
commite328f0e80ca4e2447ce85f036b859f127a9d9d71 (patch)
tree40827d9cb912203d9bbdfd47a511b3add20d0e08
parent5d91201d1c69e3c095a4eedf0f1d702f35b0d8c1 (diff)
chore: fix unary operator error in makefile
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b28e9eebd..2eabe68db 100644
--- a/Makefile
+++ b/Makefile
@@ -33,8 +33,8 @@ docs: mandocs htmldocs
# don't regenerate the snapshot if we're generating
# snapshots, since presumably we just did that.
mandocs: dev-deps $(mandocs)
- @ ! [ $${npm_lifecycle_event} = "snap" ] && \
- ! [ $${npm_lifecycle_event} = "postsnap" ] && \
+ @ ! [ "$${npm_lifecycle_event}" = "snap" ] && \
+ ! [ "$${npm_lifecycle_event}" = "postsnap" ] && \
TAP_SNAPSHOT=1 node test/lib/utils/config/definitions.js || true
$(version_mandocs): package.json