verify commit field exists

This commit is contained in:
booploops 2022-02-28 22:06:46 -08:00
parent fa48b2fdbc
commit f46826d696
2 changed files with 5 additions and 7 deletions

View file

@ -657,7 +657,8 @@ export class BrowserWindow {
description: themeJson.description || themeDescription,
path: themePath,
file: theme,
github_repo: themeJson.github_repo || ""
github_repo: themeJson.github_repo || "",
commit: themeJson.commit || ""
});
} else {
themeObjects.push({
@ -665,7 +666,8 @@ export class BrowserWindow {
description: themeDescription,
path: themePath,
file: theme,
github_repo: ""
github_repo: "",
commit: ""
});
}
}