diff --git a/ci.js b/ci.js index 5787169..8bbd4ba 100644 --- a/ci.js +++ b/ci.js @@ -57,6 +57,11 @@ else { ok = false; } +if (!Array.isArray(pkg.keywords) || pkg.keywords.length < 1) { + console.log ('keywords empty'); + ok = false; +} + function major (version) { return version.replace (/\.[0-9x]+$/ui, ''); }