mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Fix saveKinds running for each list
This commit is contained in:
parent
ed17e2f29a
commit
b6ed198000
1 changed files with 4 additions and 3 deletions
|
|
@ -470,9 +470,6 @@ class BuildLists {
|
|||
throw new Error( `Files (${ fileCount }) don\'t match list count in ${ apiListDirectory }(${ this.lists[listOptions.name].size }).` )
|
||||
}
|
||||
|
||||
|
||||
// Save kinds
|
||||
await this.saveKinds()
|
||||
}
|
||||
|
||||
// Save app lists to JSON
|
||||
|
|
@ -525,10 +522,14 @@ class BuildLists {
|
|||
|
||||
async build () {
|
||||
|
||||
// Pull in and layer data from all sources
|
||||
await this.buildLists()
|
||||
|
||||
// Save the data to respective files as lists
|
||||
await this.saveAppLists()
|
||||
|
||||
// Save kind lists
|
||||
await this.saveKinds()
|
||||
|
||||
|
||||
// console.log('appList', appList)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue