We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81cdfe1 commit 39cbec1Copy full SHA for 39cbec1
1 file changed
scripts/check-public-boundary.sh
@@ -24,6 +24,7 @@ file_patterns=(
24
"$(pattern_from_hex 7a6f72706f726174696f6e2f)"
25
"$(pattern_from_hex 2f686f6d652f7673636f6465)"
26
"$(pattern_from_hex 2f686f6d652f6c61622f776f726b73706163652d6871)"
27
+ "$(pattern_from_hex 5b63726f73732d7265706f2066726f6d20)"
28
)
29
30
metadata_patterns=(
@@ -53,7 +54,7 @@ for pattern in "${file_patterns[@]}"; do
53
54
[[ -n "${file:-}" ]] || continue
55
printf 'public-boundary: forbidden file content at %s:%s\n' "$file" "$line" >&2
56
status=1
- done < <(git grep -n -I -e "$pattern" -- "${pathspec[@]}" || true)
57
+ done < <(git grep -n -I -F -e "$pattern" -- "${pathspec[@]}" || true)
58
done
59
60
if [[ -n "${PUBLIC_BOUNDARY_GIT_RANGE:-}" ]]; then
0 commit comments