Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBarba committed Jul 8, 2021
1 parent 26ab7d6 commit 237276e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ class API {
? props.headers
: {};
this._compression =
props && (typeof props.compression === 'boolean' || Array.isArray(props.compression))
props &&
(typeof props.compression === 'boolean' ||
Array.isArray(props.compression))
? props.compression
: false;

Expand Down

0 comments on commit 237276e

Please sign in to comment.