mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Use --debug instead of --verbose
This commit is contained in:
parent
c15149b4d5
commit
7efd5dbaa6
1 changed files with 4 additions and 6 deletions
|
@ -36,12 +36,10 @@ module.exports = function (grunt) {
|
|||
var licenseStats = _.map(result, processPackage);
|
||||
var invalidLicenses = _.filter(licenseStats, function (pkg) { return !pkg.valid;});
|
||||
|
||||
if (grunt.option('verbose')) {
|
||||
if (grunt.option('only-invalid')) {
|
||||
console.log(invalidLicenses);
|
||||
} else {
|
||||
console.log(licenseStats);
|
||||
}
|
||||
if (grunt.option('only-invalid')) {
|
||||
grunt.log.debug(JSON.stringify(invalidLicenses, null, 2));
|
||||
} else {
|
||||
grunt.log.debug(JSON.stringify(licenseStats, null, 2));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue