Build: warn when no api key is specified

This commit is contained in:
Mathias Boulay 2023-08-22 22:54:50 +02:00 committed by ArtDev
parent 4469f73d1a
commit 4eaea55b9b

View File

@ -76,6 +76,7 @@ def getCFApiKey = {
if(curseforgeKeyFile.canRead() && curseforgeKeyFile.isFile()) { if(curseforgeKeyFile.canRead() && curseforgeKeyFile.isFile()) {
return curseforgeKeyFile.text; return curseforgeKeyFile.text;
} }
logger.warn('BUILD: You have no CurseForge key, the curseforge api will get disabled !');
return "DUMMY"; return "DUMMY";
} }