mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 11:50:37 +08:00
Local Git Provider Implementation
This commit is contained in:
@ -13,7 +13,7 @@ if settings.config.use_extra_bad_extensions:
|
||||
|
||||
|
||||
def filter_bad_extensions(files):
|
||||
return [f for f in files if is_valid_file(f.filename)]
|
||||
return [f for f in files if f.filename is not None and is_valid_file(f.filename)]
|
||||
|
||||
|
||||
def is_valid_file(filename):
|
||||
|
Reference in New Issue
Block a user