Skip to content

Commit b90ffa3

Browse files
Clean up
1 parent 62bd7f7 commit b90ffa3

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

packages/cursorless-engine/src/actions/GenerateSnippet/GenerateSnippet.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,6 @@ export default class GenerateSnippet {
7777
// win the race and have the input box ready for them
7878
void flashTargets(ide(), targets, FlashStyle.referenced);
7979

80-
if (dirPath == null && !isTesting) {
81-
snippetName = await ide().showInputBox({
82-
prompt: "Directory for snippet",
83-
});
84-
85-
// User cancelled; don't do anything
86-
if (dirPath == null) {
87-
return {};
88-
}
89-
}
90-
9180
if (snippetName == null) {
9281
snippetName = await ide().showInputBox({
9382
prompt: "Name of snippet",

0 commit comments

Comments
 (0)