Skip to content

Commit 18058aa

Browse files
authored
Update prune block to exclude hidden directories
1 parent c9d579b commit 18058aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/replace_everywhere.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ main() {
9595
# Start with hidden directories (if not including them)
9696
local -a PRUNE_BLOCK=()
9797
if [[ "$include_hidden" == false ]]; then
98-
PRUNE_BLOCK+=( -type d -name '.*' -prune -o )
98+
PRUNE_BLOCK+=( -path './.*' -prune -o )
9999
fi
100100

101101
# Add user-specified excludes (treat as directory names/paths from repo root)

0 commit comments

Comments
 (0)