mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: enable checkpoints for SQL files
Removes *.sql from the excluded file patterns to allow checkpoint functionality for SQL script files. This fixes an issue where users could not use diff or restore features with .sql files. Fixes #7310
This commit is contained in:
parent
9b8f3b95ec
commit
71e93f39de
2 changed files with 6 additions and 1 deletions
|
|
@ -119,6 +119,9 @@ readme.md text
|
|||
expect(excludePatterns).toContain("*.db") // database
|
||||
expect(excludePatterns).toContain("*.shp") // geospatial
|
||||
expect(excludePatterns).toContain("*.log") // log
|
||||
|
||||
// Verify SQL files are NOT excluded (fix for issue #7310)
|
||||
expect(excludePatterns).not.toContain("*.sql")
|
||||
})
|
||||
|
||||
it("should handle errors when reading .gitattributes", async () => {
|
||||
|
|
@ -150,6 +153,9 @@ readme.md text
|
|||
expect(excludePatterns).toContain("*.db") // database
|
||||
expect(excludePatterns).toContain("*.shp") // geospatial
|
||||
expect(excludePatterns).toContain("*.log") // log
|
||||
|
||||
// Verify SQL files are NOT excluded (fix for issue #7310)
|
||||
expect(excludePatterns).not.toContain("*.sql")
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -138,7 +138,6 @@ const getDatabaseFilePatterns = () => [
|
|||
"*.parquet",
|
||||
"*.pdb",
|
||||
"*.rdb",
|
||||
"*.sql",
|
||||
"*.sqlite",
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue