mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Add file counts to error mesage
This commit is contained in:
parent
7318de945d
commit
d394d763ae
1 changed files with 1 additions and 1 deletions
|
|
@ -376,7 +376,7 @@ class BuildLists {
|
||||||
console.log( this.lists[listOptions.name].size, 'Entries' )
|
console.log( this.lists[listOptions.name].size, 'Entries' )
|
||||||
|
|
||||||
if ( fileCount !== this.lists[listOptions.name].size ) {
|
if ( fileCount !== this.lists[listOptions.name].size ) {
|
||||||
throw new Error( `Files don\'t match list count in ${ apiListDirectory }` )
|
throw new Error( `Files (${ fileCount }) don\'t match list count in ${ apiListDirectory }(${ this.lists[listOptions.name].size }).` )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue