mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Make the default image filename more generic (#7479)
This commit is contained in:
parent
ef88be25fc
commit
cf8b15d9b0
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ export async function saveImage(dataUri: string) {
|
|||
// Get workspace path or fallback to home directory
|
||||
const workspacePath = getWorkspacePath()
|
||||
const defaultPath = workspacePath || os.homedir()
|
||||
const defaultFileName = `mermaid_diagram_${Date.now()}.${format}`
|
||||
const defaultFileName = `img_${Date.now()}.${format}`
|
||||
const defaultUri = vscode.Uri.file(path.join(defaultPath, defaultFileName))
|
||||
|
||||
// Show save dialog
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue