Skip to content

Commit a872dd9

Browse files
committed
Use correct Set.add invocation in Checkbox Validator
The [Set.add]() method doesn't accept variable arguments. To replace the `...` splatting, this commit loops over values and adds them individually. [Set.add]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/add
1 parent dd26529 commit a872dd9

File tree

6 files changed

+20
-5
lines changed

6 files changed

+20
-5
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
* Use `Set.add` correctly
10+
11+
*Sean Doyle*
12+
913
## 0.1.1 - 2024-09-27
1014

1115
* Expand version matrix to include `[email protected]` and `[email protected]`

app/assets/javascripts/constraint_validations.es.js

+5-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/javascripts/constraint_validations.es.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/javascripts/constraint_validations.js

+4-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)