Skip to content

Commit 48d2a62

Browse files
committed
debug format bug on CI
1 parent bd209dc commit 48d2a62

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
npx playwright install
2424
- name: check formatting
2525
run: |
26-
npm run prettier:check
26+
npm run prettier
27+
git diff
2728
- name: build
2829
run: |
2930
npm run clean

src/decorators/attribute.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export function __setUpAttribute(ctor: ElementCtor, propName: string, attributeH
140140
}
141141

142142
const attrName = (
143-
attributeHandler.name ?? attributeHandler.dashcase === false ? propName : camelCaseToDash(propName)
143+
attributeHandler.name ?? (attributeHandler.dashcase === false ? propName : camelCaseToDash(propName))
144144
).toLowerCase()
145145

146146
// @prod-prune

0 commit comments

Comments
 (0)