Skip to content

Commit 7c81333

Browse files
authored
Update check_symbols.sh to remove hardcoded exclusions
1 parent 86c8f0f commit 7c81333

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

scripts/check_symbols.sh

+2-10
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,9 @@ check_symbols() {
1919
esac
2020
done
2121

22-
ember_matches=$(git grep -I -n '\<ember[A-Za-z0-9_]*' -- './*' "${exclusions[@]}" \
23-
':(exclude).github/*' \
24-
':(exclude)src/app/util/*' \
25-
':(exclude)zzz_generated/app-common/app-common/zap-generated/access/Accessors.h' \
26-
':(exclude)src/app/zap-templates/templates/app/attributes/Accessors-src.zapt')
22+
ember_matches=$(git grep -I -n '\<ember[A-Za-z0-9_]*' -- './*' "${exclusions[@]}")
2723

28-
emAf_matches=$(git grep -I -n '\<emAf[A-Za-z0-9_]*' -- './*' "${exclusions[@]}" \
29-
':(exclude).github/*' \
30-
':(exclude)src/app/util/*' \
31-
':(exclude)zzz_generated/app-common/app-common/zap-generated/access/Accessors.h' \
32-
':(exclude)src/app/zap-templates/templates/app/attributes/Accessors-src.zapt')
24+
emAf_matches=$(git grep -I -n '\<emAf[A-Za-z0-9_]*' -- './*' "${exclusions[@]}")
3325

3426
if [[ -n "$ember_matches" || -n "$emAf_matches" ]]; then
3527
echo "Error: Found 'ember' or 'emAf' symbols in the following files and lines:"

0 commit comments

Comments
 (0)