mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-12 18:32:44 +00:00
fix: never return the complete file list
This commit is contained in:
@@ -99,7 +99,6 @@ export default class Repository {
|
||||
}
|
||||
): Promise<Tree> {
|
||||
const terms = this._model.options.terms || [];
|
||||
if (terms.length === 0) return this.files(opt);
|
||||
return anonymizeTreeRecursive(await this.files(opt), terms, opt) as Tree;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user