building out frontend and docker
This commit is contained in:
@@ -65,7 +65,9 @@ export class SimulatedBackend implements SourceRootResolver, TargetRootResolver
|
||||
const roots = [...this.sourceFolders.values()];
|
||||
if (roots.length === 0) return;
|
||||
const root = this.pick(roots);
|
||||
const files = this.drive.filesUnder(root).filter((id) => this.drive.nameOf(id) !== REJECTED_FILE);
|
||||
const files = this.drive
|
||||
.filesUnder(root)
|
||||
.filter((id) => this.drive.nameOf(id) !== REJECTED_FILE);
|
||||
const roll = this.random();
|
||||
|
||||
if (files.length === 0 || roll < 0.25) {
|
||||
|
||||
Reference in New Issue
Block a user