Skip to content

Commit 88b5d42

Browse files
authored
chore: add more specificity to check_enterprise_imports script (#5920)
1 parent f4d6afb commit 88b5d42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check_enterprise_imports.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/lib.sh"
99
cdroot
1010

1111
set +e
12-
find . -regex ".*\.go" | grep -v "./enterprise" | grep -v "./scripts/auditdocgen/main.go" | xargs grep -n "github.com/coder/coder/enterprise"
12+
find . -regex ".*\.go" | grep -v "./enterprise" | grep -v ./scripts/auditdocgen/ --include="*.go" | xargs grep -n "github.com/coder/coder/enterprise"
1313
# reverse the exit code because we want this script to fail if grep finds anything.
1414
status=$?
1515
set -e

0 commit comments

Comments
 (0)