We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b0fb5b commit d513f10Copy full SHA for d513f10
scripts/pit/lib/lib-patch.sh
@@ -100,7 +100,7 @@ moveQuarkusBomToBottom() {
100
101
## Find all java class files that extends AppLayouts and add @AnonymousAllowed
102
addAnonymousAllowedToAppLayout() {
103
- find . -name "*.java" -exec grep -l "extends AppLayout" {} + | xargs grep -L "extends AppLayoutElement" | while read file; do
+ find . -name "*.java" -exec grep -l "extends AppLayoutElement" {} + | while read file; do
104
# Insert the annotation above the class definition if not already present
105
grep -q "com.vaadin.flow.server.auth.AnonymousAllowed" "$file" && continue
106
warn "adding AnonymousAllowed to $file"
0 commit comments