From 8da26373a65500c68d8cb0900a0086c33e24622b Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Tue, 8 Feb 2022 11:25:48 -0500 Subject: [PATCH] [editorial] Generate ALL_DOCS using find only, no grep -v (#2322) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8b896bf10..cfb327737 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # All documents to be used in spell check. -ALL_DOCS := $(shell find . -name '*.md' -not -path './.github/*' -type f | grep -v ^./node_modules | sort) +ALL_DOCS := $(shell find . -type f -name '*.md' -not -path './.github/*' -not -path './node_modules/*' | sort) PWD := $(shell pwd) TOOLS_DIR := ./internal/tools