Issue #3267705 by xjm, longwave: Fix error message when 'yarn check -s' fails in the commit check script (cherry picked from commit 78388a46)
mentioned in commit e2ad80da