additional updates.
This commit is contained in:
1 parent
b5f36296e9
commit
59c3e0b191
8 files changed
+8464
-5986
No files matched your search
@@ -44,7 +44,7 @@ program
|
||||
.default(false)
|
||||
.env('GZIP')
|
||||
)
|
||||
.parse(process.argv)
|
||||
.parse()
|
||||
|
||||
export type GrabOptions = {
|
||||
site?: string
|
||||
@@ -102,7 +102,10 @@ async function main() {
|
||||
runJob({ logger, parsedChannels })
|
||||
}
|
||||
|
||||
main()
|
||||
main().catch(error => {
|
||||
console.error('ERR:', error.message)
|
||||
process.exit(1)
|
||||
})
|
||||
|
||||
async function runJob({ logger, parsedChannels }: { logger: Logger; parsedChannels: Collection }) {
|
||||
const timer = new Timer()
|
||||
|
||||
Reference in new issue
Block a user