Skip to content

Commit

Permalink
removes strict support for arguments array
Browse files Browse the repository at this point in the history
Co-authored-by: Brage Sekse Aarset <[email protected]>
  • Loading branch information
a-h-i and braaar authored Aug 26, 2022
1 parent c890403 commit 09d9e95
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib/isRgbColor.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ export default function isRgbColor(str, options) {
if (arguments.length >= 2) {
includePercentValues = arguments[1];
}
if (arguments.length >= 3) {
strict = arguments[2];
}
} else {
strict = options.strict !== undefined ? options.strict : true;
includePercentValues = options.includePercentValues !== undefined ?
Expand Down

0 comments on commit 09d9e95

Please sign in to comment.