This commit is contained in:
Andras Schmelczer 2026-04-26 12:46:12 +01:00
parent 8eae770621
commit 8b7be48522
13 changed files with 37 additions and 28 deletions

View file

@ -531,9 +531,9 @@ export class MockAgent extends MockClient {
private removeBinaryUuid(file: string): void {
const existing = this.files.get(file);
if (existing === undefined) return;
if (existing === undefined) {return;}
const content = new TextDecoder().decode(existing);
if (!content.startsWith("BINARY:")) return;
if (!content.startsWith("BINARY:")) {return;}
const uuid = content.slice("BINARY:".length);
utils.removeFromArray(this.writtenBinaryContents, uuid);
}