Skip to content

Commit 5e05873

Browse files
committed
Improved license/copyright check
1 parent 607d717 commit 5e05873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support/flutter.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ todo:
285285
license:
286286
@echo "Files without a LICENSE:\n"
287287
@-output=$$(find lib -type f -not -name '*~' -not -name 'README*' -not -name '*.g.dart' \
288-
! -exec grep -qE '^(/// Copyright|/// Licensed)' {} \; -print | xargs printf "\t%s\n"); \
288+
! -exec grep -qE '^(///? Copyright|///? Licensed)' {} \; -print | xargs printf "\t%s\n"); \
289289
if [ $$(echo "$$output" | wc -w) -ne 0 ]; then \
290290
echo "$$output"; \
291291
echo "\n$(CROSS) Error: Files with no license found."; \

0 commit comments

Comments
 (0)