Skip to content

Commit 5eff2b7

Browse files
check that Talon user exists
1 parent 179bbbc commit 5eff2b7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/app-vscode/src/InstallationDependencies.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@ function talonHomeExists() {
130130

131131
function cursorlessTalonExists() {
132132
const talonUserPath = path.join(getTalonHomePath(), "user");
133+
134+
if (!fs.existsSync(talonUserPath)) {
135+
return false;
136+
}
137+
133138
const files = glob.sync("**/*/src/cursorless.talon", {
134139
cwd: talonUserPath,
135140
deep: 3,

0 commit comments

Comments
 (0)