2
0
Files
bot/packages/scripts/index.ts

16 lines
299 B
TypeScript
Raw Normal View History

2022-02-25 09:45:31 +01:00
import path from 'path'
2022-05-13 15:22:44 -07:00
import { migrateWorkspace } from './workspaceMigration'
2022-02-25 09:45:31 +01:00
require('dotenv').config({
path: path.join(
__dirname,
process.env.NODE_ENV === 'production' ? '.env.production' : '.env.local'
2022-02-25 09:45:31 +01:00
),
})
2022-05-13 15:22:44 -07:00
const main = async () => {
await migrateWorkspace()
}
2022-02-25 09:45:31 +01:00
main().then()