Skip to content

Commit a825a16

Browse files
committed
fix: Removed stray reference to obsolete isBooleanAttr function.
1 parent 38e1e11 commit a825a16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@css-blocks/core/src/Analyzer/validations/attribute-group-validator.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { unionInto } from "@opticss/util";
22

33
import { Attribute, isAttrValue } from "../../BlockTree";
4-
import { isAttrGroup, isBooleanAttr } from "../ElementAnalysis";
4+
import { isAttrGroup, hasAttrValue } from "../ElementAnalysis";
55

66
import { ErrorCallback, Validator } from "./Validator";
77

@@ -33,7 +33,7 @@ export const attributeGroupValidator: Validator = (analysis, _templateAnalysis,
3333
}
3434
}
3535
for (let stat of analysis.dynamicAttributes) {
36-
if (isBooleanAttr(stat)) {
36+
if (hasAttrValue(stat)) {
3737
for (let val of stat.value) {
3838
if (isAttrValue(val) && !analysis.isFromComposition(val)) {
3939
ensureUniqueAttributeGroup(discovered, val.attribute, err, true);

0 commit comments

Comments
 (0)