Skip to content

Commit

Permalink
cli: ls: fix undefined prop access
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy Razon committed Nov 9, 2023
1 parent 1a32fc2 commit 8989b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/driver-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ abstract class DriverCommand<T extends typeof Command> extends ProfileCommand<T>
const flagDefaults = pickBy(
{
...await profileStore(this.store).defaultFlags(driver),
...this.preevyConfig.drivers?.[driver] ?? {},
...this.preevyConfig?.drivers?.[driver] ?? {},
},
(_v, k) => driverFlagNames.includes(k),
) as DriverFlags<DriverName, Type>
Expand Down

0 comments on commit 8989b0d

Please sign in to comment.