index.js
function isConfigurationParametersDefinedCorrectly(config) {
		if (!config) {
			gutil.log('license-check', gutil.colors.red('Config must be defined to run the plugin'));
			return false;
		}

		if (!config.path) {
			gutil.log('license-check', gutil.colors.red('License header property {path} must be defined to run the plugin'));
			return false;
		}

		return true;
	}
function isConfigurationParametersDefinedCorrectly(config) {
		if (!config) {
			gutil.log('license-check', gutil.colors.red('Config must be defined to run the plugin'));
			return false;
		}

		if (!config.path) {
			gutil.log('license-check', gutil.colors.red('License header property {path} must be defined to run the plugin'));
			return false;
		}

		return true;
	}
function isConfigurationParametersDefinedCorrectly ( config ) { if ( ! config ) { gutil . log ( 'license-check' , gutil . colors . red ( 'Config must be defined to run the plugin' ) ) ; return false ; } if ( ! config . path ) { gutil . log ( 'license-check' , gutil . colors . red ( 'License header property {path} must be defined to run the plugin' ) ) ; return false ; } return true ; }
Check that the configuration parameter are setted correctly.

@param {object} config - plugin configurations.

@returns {boolean} return true if the parameters are set correctly.
Check that the configuration parameter are setted correctly .