Merge pull request #1583 from thelounge/astorije/thelounge-packages
Use `thelounge` instead of `lounge` when it comes to external packages
This commit is contained in:
commit
0cc9c4166b
@ -26,7 +26,7 @@ program
|
||||
packageJson(packageName, {
|
||||
fullMetadata: true
|
||||
}).then((json) => {
|
||||
if (!("lounge" in json)) {
|
||||
if (!("thelounge" in json)) {
|
||||
log.error(`${colors.red(packageName)} does not have The Lounge metadata.`);
|
||||
|
||||
process.exit(1);
|
||||
|
@ -62,11 +62,11 @@ function getModuleInfo(packageName) {
|
||||
log.warn(`Specified theme ${colors.yellow(packageName)} is not installed in packages directory`);
|
||||
return;
|
||||
}
|
||||
if (!module.lounge) {
|
||||
if (!module.thelounge) {
|
||||
log.warn(`Specified theme ${colors.yellow(packageName)} doesn't have required information.`);
|
||||
return;
|
||||
}
|
||||
return module.lounge;
|
||||
return module.thelounge;
|
||||
}
|
||||
|
||||
function makePackageThemeObject(moduleName) {
|
||||
|
Loading…
Reference in New Issue
Block a user