Kate
1 year ago
committed by
GitHub
17 changed files with 35 additions and 15 deletions
@ -0,0 +1,10 @@ |
|||||||
|
#!/bin/bash |
||||||
|
set -euxo pipefail |
||||||
|
cd "$(dirname "$0")/.." |
||||||
|
|
||||||
|
dart_io_usage=("$(grep -r packages --include "*\.dart" -e "dart:io" -l | grep -v "/\.dart_tool/" | grep -v "/bin/" | grep -v "/test_driver/" || true)") |
||||||
|
|
||||||
|
if [[ -n "${dart_io_usage[*]}" ]]; then |
||||||
|
printf "%s\n" "${dart_io_usage[@]}" |
||||||
|
exit 1 |
||||||
|
fi |
Loading…
Reference in new issue