Skip to content

Commit

Permalink
require pds id
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Nov 10, 2023
1 parent d9680bc commit 24d2191
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/pds/src/migrate-script/migrate-all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ export const runScript = async () => {
console.log('starting')
const { db, ctx, adminHeaders, pdsInfos } = await setupEnv()

const pdsIdArg = process.argv[2]
const pdsId = pdsIdArg ? parseInt(pdsIdArg) : null
// const pdsIdArg = process.argv[2]
// const pdsId = pdsIdArg ? parseInt(pdsIdArg) : null
const pdsId = parseInt(process.argv[2])

const todo = await db
.selectFrom('status')
Expand Down

0 comments on commit 24d2191

Please sign in to comment.