Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymczakJ committed Nov 6, 2024
1 parent 6356a17 commit d6fa86a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v4

- name: Install node_modules
run: npm ci
run: npm ci --ignore-scripts

- name: Build app
working-directory: WebExample
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20.18.0
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@
"./WebExample"
],
"engines": {
"node": ">= 18.0.0"
"node": "20.18.0",
"npm": "10.8.2"
},
"jest": {
"preset": "react-native",
Expand Down
2 changes: 1 addition & 1 deletion src/web/utils/parserUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function addTextToElement(node: TreeNode, text: string) {
});
}

function addParagraph(node: TreeNode, text: string | null = null, length: number, disableInlineStyles = false) {
function addParagraph(node: TreeNode, text: string | null, length: number, disableInlineStyles = false) {
const p = document.createElement('p');
p.setAttribute('data-type', 'line');
if (!disableInlineStyles) {
Expand Down

0 comments on commit d6fa86a

Please sign in to comment.