Skip to content

Commit

Permalink
Fix missing script args
Browse files Browse the repository at this point in the history
  • Loading branch information
nonword committed Feb 3, 2025
1 parent 73ae7a9 commit a32c590
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/identify-ids-by-query.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,12 @@ const parseArguments = () => {
type: 'string',
default: '0'
},
outfile: { type: 'string' },
query: {
type: 'string'
outfile: {
type: 'string',
default: './out.csv'
},
limit: { type: 'string' },
query: { type: 'string' },
size: {
type: 'string',
default: '100'
Expand All @@ -81,7 +83,7 @@ const parseArguments = () => {
}
})

castArgsToInts(argv, ['batchSize', 'limit', 'offset'])
castArgsToInts(argv, ['limit'])

return argv.values
}
Expand Down

0 comments on commit a32c590

Please sign in to comment.