Minor fixes

This commit is contained in:
kibigo!
2017-11-21 18:17:38 -08:00
parent bdbbd06dad
commit 8812bab687
3 changed files with 2 additions and 8 deletions

View File

@@ -28,7 +28,7 @@ for (let i = 0; i < themeFiles.length; i++) {
if (!data.pack_directory) {
data.pack_directory = dirname(themeFile);
}
if (data.pack) {
if (data.pack && typeof data.pack == 'object') {
themes[data.name] = data;
}
}