index.js
function error(filePath, ctx) {
		if (isErrorBlocking) {
			throw new gutil.PluginError('gulp-license-check', new Error('The following file doesn`t contain the license header ' + filePath));
		} else {
			logError(filePath, ctx);
		}
	}
function error(filePath, ctx) {
		if (isErrorBlocking) {
			throw new gutil.PluginError('gulp-license-check', new Error('The following file doesn`t contain the license header ' + filePath));
		} else {
			logError(filePath, ctx);
		}
	}
function error ( filePath , ctx ) { if ( isErrorBlocking ) { throw new gutil . PluginError ( 'gulp-license-check' , new Error ( 'The following file doesn`t contain the license header ' + filePath ) ) ; } else { logError ( filePath , ctx ) ; } }
Manage error in case the header is not present.

@param {string} filePath - file Path.
@param {object} ctx - context.
Manage error in case the header is not present .