refactor bids/quickTestError.js for codeclimate compliance
refactor bids/quickTestError.js for codeclimate compliance

nellh/bids-validator,Squishymedia/BIDS-Validator,nellh/bids-validator,nellh/bids-validator,Squishymedia/bids-validator