Skip to content

Commit d513f10

Browse files
committed
fix grep expression
1 parent 2b0fb5b commit d513f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pit/lib/lib-patch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ moveQuarkusBomToBottom() {
100100

101101
## Find all java class files that extends AppLayouts and add @AnonymousAllowed
102102
addAnonymousAllowedToAppLayout() {
103-
find . -name "*.java" -exec grep -l "extends AppLayout" {} + | xargs grep -L "extends AppLayoutElement" | while read file; do
103+
find . -name "*.java" -exec grep -l "extends AppLayoutElement" {} + | while read file; do
104104
# Insert the annotation above the class definition if not already present
105105
grep -q "com.vaadin.flow.server.auth.AnonymousAllowed" "$file" && continue
106106
warn "adding AnonymousAllowed to $file"

0 commit comments

Comments
 (0)