Linting
This commit is contained in:
parent
8eae770621
commit
8b7be48522
13 changed files with 37 additions and 28 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue