Skip to content

Commit

Permalink
Try to fix grep error in the feature flags check
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethmurerwa committed Jul 18, 2024
1 parent ac5cbb1 commit bb9b1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/feature_flags_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function get_classes_from_constants_file() {
file_path=$(find . -name FeatureFlagConstants.kt)

# Get a list of feature flag annotation classes
annotation_classes=$(grep -F -E '[\s\w]*annotation\s*class' "$file_path")
annotation_classes=$(grep -E '[\s\w]*annotation\s*class' "$file_path")

# Convert the string into an array, splitting by newline
IFS=$'\n' read -rd '' -a array <<<"$annotation_classes"
Expand Down

0 comments on commit bb9b1a7

Please sign in to comment.