mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-21 04:41:16 -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) {
|
if (returnEmptyStringOnSuccess) {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
return `Command Output:\n${result}`
|
return `Command executed.${result.length > 0 ? `\nOutput:\n${result}` : ""}`
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
const error = e as any
|
const error = e as any
|
||||||
let errorMessage = error.message || JSON.stringify(serializeError(error), null, 2)
|
let errorMessage = error.message || JSON.stringify(serializeError(error), null, 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user