From e328f0e80ca4e2447ce85f036b859f127a9d9d71 Mon Sep 17 00:00:00 2001 From: nlf Date: Thu, 17 Mar 2022 12:48:47 -0700 Subject: chore: fix unary operator error in makefile --- Makefile | 4 ++-- 1 file 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 -- cgit v1.2.3