1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-01 03:15:58 +03:00
leon/scripts/run-clean-test-dbs.js
2022-09-26 21:29:56 +08:00

15 lines
271 B
JavaScript

import { LogHelper } from '@/helpers/log-helper'
import cleanTestDbs from './clean-test-dbs'
/**
* Execute the cleaning test DBs script
*/
;(async () => {
try {
await cleanTestDbs()
} catch (e) {
LogHelper.error(`Failed to clean test DBs: ${e}`)
}
})()