Repository navigation
Commit f48620d
committed
Clean up existing temporary directory before recreating it
- In `invoke-agentic-cli.ts`, add `await fs.promises.rm(temp_dir_path, { recursive: true, force: true }).catch(() => {})` right before the `mkdir` call for the static `cwc-cli` folder so it gets wiped clean before every run.
└── apps
└── editor
└── src
├── utils
│ └── agentic-cli-invocation
│ ├── index.ts
│ └── invoke-agentic-cli.ts
└── views
└── prompt
└── backend
├── message-handlers
│ ├── handle-invoke-agentic-cli.ts
│ └── utils
│ └── build-cli-prompt.ts
└── prompt-view-provider.ts1 parent 87a5a94 commit f48620d
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
368 | 371 | | |
369 | 372 | | |
370 | 373 | | |
| |||
0 commit comments