You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo Scanning *.cs files for missing License header EXCEPT batch folder in $rootdir
badFiles=()
# Once Batch folder will be converter to MIT license uncomment the following line and remove the next read
#read -ra badFiles <<< $(find $rootdir -name '*.cs' -print | xargs grep -iL "// Licensed under the MIT License. See License.txt in the project root")
read -ra badFiles <<< $(find $rootdir -path "$rootdir/src/Batch" -prune -o -name '*.cs' -print | xargs grep -iL "// Licensed under the MIT License. See License.txt in the project root")