File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/lib.sh"
9
9
cdroot
10
10
11
11
set +e
12
- find . -regex " .*\.go" | grep -v " ./enterprise" | xargs grep -n " github.com/coder/coder/enterprise"
12
+ find . -regex " .*\.go" | grep -v " ./enterprise" | grep -v " ./scripts/auditdocgen/main.go " | xargs grep -n " github.com/coder/coder/enterprise"
13
13
# reverse the exit code because we want this script to fail if grep finds anything.
14
14
status=$?
15
15
set -e
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set -euo pipefail
5
5
source " $( dirname " ${BASH_SOURCE[0]} " ) /lib.sh"
6
6
cdroot
7
7
8
- FILES=" $( git ls-files --other --modified --exclude-standard -- ' ./scripts/auditdocgen/main.go ' ) "
8
+ FILES=" $( git ls-files --other --modified --exclude-standard) "
9
9
if [[ " $FILES " != " " ]]; then
10
10
mapfile -t files <<< " $FILES"
11
11
You can’t perform that action at this time.
0 commit comments