Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit db27033

Browse files
committed
fix format
1 parent 31fa26d commit db27033

File tree

4 files changed

+42
-40
lines changed

4 files changed

+42
-40
lines changed

.github/workflows/checkFormat.yaml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
name: Check Prettier Format
22

33
on:
4-
workflow_dispatch:
5-
push:
6-
4+
workflow_dispatch:
5+
push:
6+
77
jobs:
8-
check:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: Checkout
12-
uses: actions/checkout@v4
13-
14-
- uses: actions/setup-node@v4
15-
with:
16-
node-version: "22"
8+
check:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: "22"
1717

18-
- name: Install and Lint
19-
run: |
20-
npm install
21-
npx prettier --check ./**/*.html
22-
npx prettier --check ./**/*.css
23-
npx prettier --check ./**/*.ts
24-
npx prettier --check ./**/*.tsx
25-
npx prettier --check ./**/*.json
26-
npx prettier --check ./**/*.md
18+
- name: Install and Lint
19+
run: |
20+
npm install
21+
npx prettier --check ./**/*.html
22+
npx prettier --check ./**/*.css
23+
npx prettier --check ./**/*.ts
24+
npx prettier --check ./**/*.tsx
25+
npx prettier --check ./**/*.json
26+
npx prettier --check ./**/*.md

.github/workflows/checkLint.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
name: Check ESLint
22

33
on:
4-
workflow_dispatch:
5-
push:
6-
4+
workflow_dispatch:
5+
push:
6+
77
jobs:
8-
check:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: Checkout
12-
uses: actions/checkout@v4
13-
14-
- uses: actions/setup-node@v4
15-
with:
16-
node-version: "22"
8+
check:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: "22"
1717

18-
- name: Install and Lint
19-
run: |
20-
npm install
21-
npm run lint
18+
- name: Install and Lint
19+
run: |
20+
npm install
21+
npm run lint

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
"prepare": "husky"
3636
},
3737
"lint-staged": {
38-
"*.{html,css,ts,tsx,json,md}": ["npm run lint", "npm run format"]
38+
"*.{html,css,ts,tsx,json,md}": [
39+
"npm run lint",
40+
"npm run format"
41+
]
3942
}
4043
}

src/features/dfdElements/outputPortEditUi.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,7 @@ class MonacoEditorDfdBehaviorCompletionProvider implements monaco.languages.Comp
255255
case 1:
256256
// If there's only one part, we're completing the `Type`
257257
return this.getLabelTypeCompletions(model, position);
258-
case 2: // If there's already a dot, we complete the `value` for the specific `Type`
259-
{
258+
case 2: { // If there's already a dot, we complete the `value` for the specific `Type`
260259
const labelTypeName = expressionParts[0];
261260
return this.getLabelValueCompletions(model, position, labelTypeName);
262261
}

0 commit comments

Comments
 (0)