require keywords
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Timo Hocker 2020-07-19 11:13:17 +02:00
parent 0955d18339
commit ef4aefd3e9

5
ci.js
View File

@ -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, '');
}