Skip to content

Commit

Permalink
Merge pull request #79 from salesforcecli/ew/log-number-default
Browse files Browse the repository at this point in the history
Remove log:get number default
  • Loading branch information
iowillhoit authored Mar 21, 2023
2 parents 752aa8a + 1151dc2 commit 7838d87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/apex/get/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ export default class Log extends SfCommand<LogGetResult> {
startsWith: '07L',
length: 'both',
}),
// Removed default because it will take priority over 'log-id' in the apex library
// https://github.com/forcedotcom/salesforcedx-apex/blob/main/src/logs/logService.ts#L57-L60
// eslint-disable-next-line sf-plugin/flag-min-max-default
number: Flags.integer({
char: 'n',
min: 1,
default: 1,
max: 25,
summary: messages.getMessage('flags.number.summary'),
}),
Expand Down

0 comments on commit 7838d87

Please sign in to comment.