Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnr committed Jul 16, 2020
1 parent 3f06ec8 commit 5b01424
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/shared-args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ export function getSharedArgs(options: StillOptions | StreamOptions): string[] {
/**
* Brightness (0 to 100; default 50)
*/
...((options.brightness || options.brightness === 0) ? ['--brightness', options.brightness.toString()] : []),
...(options.brightness || options.brightness === 0
? ['--brightness', options.brightness.toString()]
: []),

/**
* Saturation (-100 to 100; default 0)
Expand Down

0 comments on commit 5b01424

Please sign in to comment.