Skip to content

Commit

Permalink
fix: fix useSeconds not being set on options by preset
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin committed Apr 15, 2020
1 parent 9db79fe commit d77ec8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/option.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const validateOptions = (inputOptions: InputOptions) => {
presetId: preset.presetId,
preset: preset,
...{
useSeconds: preset.useYears,
useSeconds: preset.useSeconds,
useYears: preset.useYears,
seconds: {
lowerLimit: preset.seconds.lowerLimit,
Expand Down

0 comments on commit d77ec8c

Please sign in to comment.