Skip to content

Commit 3e5cfb9

Browse files
committed
fix build
1 parent cc6e2b0 commit 3e5cfb9

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

packages/editor/src/runtime/extensions/visualizer/VisualizerExtension.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
import type * as monaco from "monaco-editor";
2-
import { lifecycle, event } from "vscode-lib";
2+
import { event, lifecycle } from "vscode-lib";
33
import { CompiledCodeModel } from "../../../models/CompiledCodeModel";
44
import SourceModelCompiler from "../../compiler/SourceModelCompiler";
55
import { TypeChecker } from "./TypeChecker";
66

77
export type VisualizersByPath = { [key: string]: string[] };
88

99
export class VisualizerExtension extends lifecycle.Disposable {
10-
private readonly typeChecker = new TypeChecker(
11-
this.documentId,
12-
this.monacoInstance
13-
);
10+
private readonly typeChecker: TypeChecker;
1411

1512
private readonly _onUpdateVisualizers: event.Emitter<VisualizersByPath> =
1613
this._register(new event.Emitter<VisualizersByPath>());
@@ -24,6 +21,7 @@ export class VisualizerExtension extends lifecycle.Disposable {
2421
private readonly monacoInstance: typeof monaco
2522
) {
2623
super();
24+
this.typeChecker = new TypeChecker(this.documentId, this.monacoInstance);
2725
compiler.compiledModels.forEach((m) => this.registerModel(m));
2826
this._register(
2927
compiler.onDidCreateCompiledModel((m) => {

packages/server/src/test/setup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { startSupabase } from "../supabase/test/supabaseCLIUtil";
22

33
export default async function () {
4+
// in CI, supabase is already started
45
if (!process.env.CI) {
56
await startSupabase();
67
}

0 commit comments

Comments
 (0)