Skip to content

Commit d27c75b

Browse files
committed
fix: missing } due to conflict
1 parent a75d3f1 commit d27c75b

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/features/livecodescript/LCSserverProvider.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,21 @@ import * as vscode from "vscode";
22
import { TextDecoder } from "text-encoding";
33
import { PromiseSocket } from "promise-socket";
44

5-
65
export default class LivecodescriptServerProvider {
76
private enabled: boolean;
87
private host: string;
98
private port: number;
109

11-
1210
constructor() {
1311
this.loadConfiguration();
1412
}
1513

16-
1714
public activate(subscriptions: vscode.Disposable[]) {
1815
subscriptions.push(this);
1916
subscriptions.push(
2017
vscode.workspace.onDidSaveTextDocument(
2118
async ({ fileName, languageId, lineAt }) => {
22-
2319
console.log("DOCUMENT SAVED");
24-
2520
if (this.enabled && languageId === "livecodescript") {
2621
const regex = '"([-.:a-zA-Z0-9_s?!]+)"';
2722
const scriptName = lineAt(0).text.match(regex)[1];
@@ -30,23 +25,21 @@ export default class LivecodescriptServerProvider {
3025
stack: scriptName,
3126
filename: fileName,
3227
};
33-
28+
3429
this.sendToLiveCode(query);
3530
}
3631
}
3732
)
3833
);
39-
4034
subscriptions.push(
4135
vscode.workspace.onDidChangeConfiguration(() =>
4236
this.loadConfiguration()
4337
)
4438
);
45-
39+
}
4640

4741
public dispose(): void {}
4842

49-
5043
private loadConfiguration() {
5144
console.log("CONFIG CHANGED");
5245
const section = vscode.workspace.getConfiguration("livecodescript");
@@ -105,7 +98,6 @@ export default class LivecodescriptServerProvider {
10598
this.sendToLiveCode(query);
10699
}
107100
});
108-
109101
}
110102
}
111103
}

0 commit comments

Comments
 (0)