From 83372176c90ab2ccb5904484ae693e4505f7d251 Mon Sep 17 00:00:00 2001 From: pelikhan Date: Tue, 19 Mar 2024 10:13:58 -0700 Subject: [PATCH] ignore local cli dropped by the extension --- packages/vscode/src/state.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/vscode/src/state.ts b/packages/vscode/src/state.ts index 3decd81a18..f1ff1287f5 100644 --- a/packages/vscode/src/state.ts +++ b/packages/vscode/src/state.ts @@ -194,6 +194,12 @@ export class ExtensionState extends EventTarget { *.js -diff merge=ours linguist-generated ` ) + // add .gitignore + await writeFile(dir, ".gitignore", `# ignore local cli +genaiscript.cjs +cache/ +retrieval/ +`) } aiRequestCache() {