Skip to content

Commit b248723

Browse files
committed
Remove error suppression when removing temporary directory in agentic CLI invocation
1 parent f48620d commit b248723

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎apps/editor/src/utils/agentic-cli-invocation/invoke-agentic-cli.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,7 @@ export const invoke_agentic_cli = async (params: {
365365
)
366366
} else {
367367
temp_dir_path = path.join(os.tmpdir(), 'cwc-cli')
368-
await fs.promises
369-
.rm(temp_dir_path, { recursive: true, force: true })
370-
.catch(() => {})
368+
await fs.promises.rm(temp_dir_path, { recursive: true, force: true })
371369
await fs.promises.mkdir(temp_dir_path, { recursive: true })
372370
}
373371

0 commit comments

Comments
 (0)