Skip to content

Commit 36bb03d

Browse files
committed
fix: wxml-ts update failing
1 parent 63fdf04 commit 36bb03d

File tree

6 files changed

+36
-35
lines changed

6 files changed

+36
-35
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
## [0.15.3] - 2025-10-27
10+
## [0.15.4] - 2025-10-27
1111

1212
### Added
1313

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ compact_str = "0.8.0"
1616
cssparser = "0.34.0"
1717
cssparser-color = "0.2.0"
1818
futures = "0.3.31"
19-
glass-easel-template-compiler = "0.15.3"
19+
glass-easel-template-compiler = "0.15.4"
2020
itertools = "0.13.0"
2121
log = "0.4.22"
2222
lsp-server = "0.7.7"

pnpm-lock.yaml

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vscode-extension/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@
163163
"eslint-plugin-import": "^2.32.0",
164164
"eslint-plugin-prettier": "^5.5.4",
165165
"eslint-plugin-promise": "^7.2.1",
166-
"glass-easel": "^0.15.3",
167-
"glass-easel-miniprogram-adapter": "^0.15.3",
168-
"glass-easel-miniprogram-template": "^0.15.3",
169-
"glass-easel-miniprogram-typescript": "^0.15.3",
170-
"glass-easel-template-compiler": "^0.15.3",
166+
"glass-easel": "^0.15.4",
167+
"glass-easel-miniprogram-adapter": "^0.15.4",
168+
"glass-easel-miniprogram-template": "^0.15.4",
169+
"glass-easel-miniprogram-typescript": "^0.15.4",
170+
"glass-easel-template-compiler": "^0.15.4",
171171
"prettier": "^3.6.2",
172172
"ts-loader": "^9.5.1",
173173
"ts-node": "^10.9.2",

vscode-extension/src/typescript.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export class TsService {
174174
projectPath: '.',
175175
workingDirectory: root,
176176
verboseMessages: false,
177-
onDiagnosticsNeedUpdate: (_fullPath: string) => {
177+
onDiagnosticsNeedUpdate(_fullPath: string) {
178178
// empty
179179
},
180180
onFirstScanDone: () => {
@@ -217,6 +217,7 @@ export class TsService {
217217
}
218218

219219
async getDiagnostics(fullPath: string): Promise<vscode.Diagnostic[]> {
220+
await this.services.waitPendingAsyncTasks()
220221
const diags = await this.services.analyzeWxmlFile(fullPath)
221222
return diags.map((diag) => {
222223
const start = new vscode.Position(diag.start.line, diag.start.character)

0 commit comments

Comments
 (0)