Issue #3267705 by xjm, longwave: Fix error message when 'yarn check -s' fails in the commit check script
mentioned in commit d933e188
mentioned in commit e2ad80da