mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-30 14:09:33 +02:00
fix: never return the complete file list
This commit is contained in:
1 parent
e1ef44bd6d
commit
3323d2d0c0
1 file changed
-1
@@ -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