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:
Jérémie Astori 2017-09-30 23:47:02 -04:00 committed by GitHub
commit 0cc9c4166b
2 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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) {