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