diff --git a/src/command-line/install.js b/src/command-line/install.js index 59507f45..9333719b 100644 --- a/src/command-line/install.js +++ b/src/command-line/install.js @@ -24,7 +24,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); diff --git a/src/plugins/themes.js b/src/plugins/themes.js index 8c90cdd9..c2231dd6 100644 --- a/src/plugins/themes.js +++ b/src/plugins/themes.js @@ -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) {