Skip to content

Commit f2b5908

Browse files
authored
Check for uses of FoundationNetworking in ./bin/test
1 parent fb38bef commit f2b5908

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
set -eu
1313

14+
grep -r FoundationNetworking Sources && echo "Replace uses of FoundationNetworking with alternatives" && exit 1
15+
1416
# A `realpath` alternative using the default C implementation.
1517
filepath() {
1618
[[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"

0 commit comments

Comments
 (0)