Skip to content

Commit

Permalink
Parse timeout as number (#1295).
Browse files Browse the repository at this point in the history
  • Loading branch information
raineorshine committed Apr 20, 2023
1 parent 1efca25 commit cc72e21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,7 @@ When \`--packageManager staticRegistry\` is set, \`--registry\` must specify a p
long: 'timeout',
arg: 'ms',
description: 'Global timeout in milliseconds. (default: no global timeout and 30 seconds per npm-registry-fetch)',
parse: s => parseInt(s, 10),
type: 'number',
},
{
Expand Down

0 comments on commit cc72e21

Please sign in to comment.