index.js
function readLicenseHeaderFile() {
		if (licenseFileUtf8) {
			return licenseFileUtf8;
		}

		if (fs.existsSync(licenseFilePath)) {
			return fs.readFileSync(licenseFilePath, 'utf8').split(/\r?\n/);
		}

		throw new gutil.PluginError('gulp-license-check', new Error('The license header file doesn`t exist ' + licenseFilePath));
	}
function readLicenseHeaderFile() {
		if (licenseFileUtf8) {
			return licenseFileUtf8;
		}

		if (fs.existsSync(licenseFilePath)) {
			return fs.readFileSync(licenseFilePath, 'utf8').split(/\r?\n/);
		}

		throw new gutil.PluginError('gulp-license-check', new Error('The license header file doesn`t exist ' + licenseFilePath));
	}
function readLicenseHeaderFile ( ) { if ( licenseFileUtf8 ) { return licenseFileUtf8 ; } if ( fs . existsSync ( licenseFilePath ) ) { return fs . readFileSync ( licenseFilePath , 'utf8' ) . split ( / \r?\n / ) ; } throw new gutil . PluginError ( 'gulp-license-check' , new Error ( 'The license header file doesn`t exist ' + licenseFilePath ) ) ; }
Read the file header path.

@returns {string[]} The license header template in sting[] format.
Read the file header path .