verify commit field exists
This commit is contained in:
parent
fa48b2fdbc
commit
f46826d696
2 changed files with 5 additions and 7 deletions
|
@ -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: ""
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue