Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
machty committed Jan 16, 2025
1 parent ba613f9 commit ae858e7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ dist/
!/packages/environment*/-private/dsl/**/*.d.ts
!/packages/environment*/-private/intrinsics/**/*.d.ts

!/packages/vscode/generated-meta.ts

# Markdown files: the formatting Prettier uses by default *does. not. match.*
# the formatting applied by Gitbook. Having both present is a recipe for ongoing
# CI problems.
Expand Down
4 changes: 2 additions & 2 deletions packages/vscode/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { defineConfigObject } from 'reactive-vscode';
import { NestedScopedConfigs, scopedConfigs } from './generated-meta';

export const config = defineConfigObject<NestedScopedConfigs>(
scopedConfigs.scope,
scopedConfigs.defaults
scopedConfigs.scope,
scopedConfigs.defaults,
);
2 changes: 1 addition & 1 deletion packages/vscode/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const { activate, deactivate } = defineExtension(async () => {
workspaceFolder,
(id, name, documentSelector, initOptions, port, outputChannel) => {
class _LanguageClient extends lsp.LanguageClient {
override fillInitializeParams(params: lsp.InitializeParams): lsp.InitializeParams {
override fillInitializeParams(params: lsp.InitializeParams): void {
// fix https://github.com/vuejs/language-tools/issues/1959
params.locale = vscode.env.language;
}
Expand Down
4 changes: 2 additions & 2 deletions packages/vscode/src/hybrid-mode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,6 @@ function getTsVersion(libPath: string): string | undefined {

return desc.version as string;
} catch {
// Ignore
}
// Ignore
}
}
2 changes: 1 addition & 1 deletion packages/vscode/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "lib",
"module": "CommonJS",
"moduleResolution": "Node"
"moduleResolution": "Node"
},
"include": ["src", "__tests__"],
"references": [{ "path": "../core" }]
Expand Down

0 comments on commit ae858e7

Please sign in to comment.