We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 573c192 commit 5ae48f9Copy full SHA for 5ae48f9
monorepo-migration/migrate.sh
@@ -95,7 +95,7 @@ if [ -z "$CODEOWNER" ]; then
95
if [ -n "$CODEOWNERS_FILE" ]; then
96
# Extract the line(s) starting with * (global owners)
97
# Use grep to find the line, then sed to remove the '*' and standard team handle
98
- EXTRACTED_OWNERS=$(grep "^\*" "$CODEOWNERS_FILE" | sed 's/^\*[[:space:]]*//' | sed 's/@googleapis\/cloud-java-team-teamsync//g' | xargs)
+ EXTRACTED_OWNERS=$(grep "^\* " "$CODEOWNERS_FILE" | sed 's/^\*[[:space:]]*//' | sed 's/@googleapis\/cloud-java-team-teamsync//g' | xargs)
99
if [ -n "$EXTRACTED_OWNERS" ]; then
100
DEFAULT_CODEOWNER="$EXTRACTED_OWNERS"
101
echo "Found default CODEOWNER: $DEFAULT_CODEOWNER"
0 commit comments