diff --git a/src/Repository.ts b/src/Repository.ts index 7f185f7..99346bf 100644 --- a/src/Repository.ts +++ b/src/Repository.ts @@ -99,7 +99,6 @@ export default class Repository { } ): Promise { const terms = this._model.options.terms || []; - if (terms.length === 0) return this.files(opt); return anonymizeTreeRecursive(await this.files(opt), terms, opt) as Tree; }