Skip to content

Commit

Permalink
unfuck prettier (#2)
Browse files Browse the repository at this point in the history
* unfuck prettier

* fix gh actions

* add changelog entry

* add prettier ignore

* prettier
  • Loading branch information
KonnorRogers authored Aug 18, 2024
1 parent 4af931c commit b3e9990
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
permissions:
actions: write
attestations: none
checks: read
checks: write
contents: write
deployments: write
id-token: write
issues: write
discussions: none
packages: none
pages: none
pull-requests: read
pull-requests: write
repository-projects: none
security-events: none
statuses: read
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 1.0.1 08/18/2024

Bug Fix(`<basic-diff-view-element>`): Fix a whitespace issue caused by Prettier auto formatting. [#2](https://github.com/KonnorRogers/diff-view-element/pull/2)
Original file line number Diff line number Diff line change
Expand Up @@ -325,13 +325,14 @@ export default class BasicDiffViewElement extends BaseElement {
}

return html`
<td part=${`gutter-cell gutter-cell--${diffType} ${diffType}`}>
<span part="line-number">${lineNumber}</span>
</td>
<!-- prettier-ignore -->
<td part=${`gutter-cell gutter-cell--${diffType} ${diffType}`}><span part="line-number">${lineNumber}</span></td>
<!-- prettier-ignore -->
<td part=${`diff-marker diff-marker--${diffType} ${diffType}`}></td>
<td part=${`line line--${diffType} ${diffType}`}>
${this.renderValue(diffInfo)}
</td>
<!-- prettier-ignore -->
<td part=${`line line--${diffType} ${diffType}`}>${this.renderValue(
diffInfo,
)}</td>
`;
}

Expand Down

0 comments on commit b3e9990

Please sign in to comment.