Skip to content

Commit

Permalink
fix: autonumber choices bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Jul 29, 2022
1 parent 004c418 commit a7ddf61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/generate/metadata/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default class FieldGenerate extends SfCommand<FieldGenerateResult> {
},
// AutoNumber
{
type: 'list',
type: 'number',
message: messages.getMessage('prompts.startingNumber'),

validate: (n: number) => integerValidation(n, 0, Number.MAX_SAFE_INTEGER),
Expand Down

0 comments on commit a7ddf61

Please sign in to comment.