githooks.js
function(error) {
			if (error) {
				console.error(error.toString());
			}
			process.exit(cfg.ERROR_EXIT);
		}
function(error) {
			if (error) {
				console.error(error.toString());
			}
			process.exit(cfg.ERROR_EXIT);
		}
function ( error ) { if ( error ) { console . error ( error . toString ( ) ) ; } process . exit ( cfg . ERROR_EXIT ) ; }
output error message and exit with ERROR_EXIT
@param  {String|Error} error
output error message and exit with ERROR_EXIT