add file to any .gitignore that doesn't have it already
find . -name .gitignore | xargs -L1 grep -L yarn-error.log | xargs -L1 -I '{}' sh -c 'printf "\nyarn-error.log" >> {}'