mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 20:31:37 -05:00
Let Claude know command executed successfully if immediately returned
This commit is contained in:
@@ -1303,7 +1303,7 @@ export class ClaudeDev {
|
||||
if (returnEmptyStringOnSuccess) {
|
||||
return ""
|
||||
}
|
||||
return `Command Output:\n${result}`
|
||||
return `Command executed.${result.length > 0 ? `\nOutput:\n${result}` : ""}`
|
||||
} catch (e) {
|
||||
const error = e as any
|
||||
let errorMessage = error.message || JSON.stringify(serializeError(error), null, 2)
|
||||
|
||||
Reference in New Issue
Block a user