Skip to content

Commit 0c9a833

Browse files
committed
Pr cleanup
1 parent 155f4ee commit 0c9a833

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/cursorless-vscode/src/ide/vscode/VscodeFileSystem.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ import { RelativePattern, workspace } from "vscode";
33
import * as path from "path";
44

55
export class VscodeFileSystem implements FileSystem {
6-
constructor(public cursorlessDir: string) {}
6+
public readonly cursorlessTalonStateJsonPath: string;
77

8-
public get cursorlessTalonStateJsonPath() {
9-
return path.join(this.cursorlessDir, "state.json");
8+
constructor(public readonly cursorlessDir: string) {
9+
this.cursorlessTalonStateJsonPath = path.join(
10+
this.cursorlessDir,
11+
"state.json",
12+
);
1013
}
1114

1215
watchDir(path: string, onDidChange: PathChangeListener): Disposable {

0 commit comments

Comments
 (0)