mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
fix(core): ignore .pak and .rpa game archive formats by default (#26884)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
This commit is contained in:
@@ -203,6 +203,7 @@ describe('FileExclusions', () => {
|
||||
describe('BINARY_EXTENSIONS', () => {
|
||||
it.each([
|
||||
['common binary file extensions', ['.exe', '.dll', '.jar', '.zip']],
|
||||
['game archive file extensions', ['.pak', '.rpa']],
|
||||
['additional binary extensions', ['.dat', '.obj', '.wasm']],
|
||||
['media file extensions', ['.pdf', '.png', '.jpg']],
|
||||
])('should include %s', (_, extensions) => {
|
||||
|
||||
@@ -38,6 +38,8 @@ export const BINARY_FILE_PATTERNS: string[] = [
|
||||
'**/*.bz2',
|
||||
'**/*.rar',
|
||||
'**/*.7z',
|
||||
'**/*.pak',
|
||||
'**/*.rpa',
|
||||
'**/*.doc',
|
||||
'**/*.docx',
|
||||
'**/*.xls',
|
||||
|
||||
Reference in New Issue
Block a user