Skip to content

Commit bec18de

Browse files
committed
debug prettier on CI
1 parent 371fcbf commit bec18de

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
npx playwright install
2424
- name: check formatting
2525
run: |
26-
npm run prettier:check
26+
npm run prettier
27+
npm ls prettier
28+
git diff
2729
- name: build
2830
run: |
2931
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)