Skip to content

Commit a92f147

Browse files
1 parent c1e4038 commit a92f147

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

‎handwritten/storage/src/transfer-manager.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ export class TransferManager {
607607
let files: File[] = [];
608608

609609
const baseDestination = path.resolve(
610-
options.passthroughOptions?.destination || '.'
610+
options.passthroughOptions?.destination || '.',
611611
);
612612

613613
if (!Array.isArray(filesOrFolder)) {
@@ -701,7 +701,7 @@ export class TransferManager {
701701
await fsp.mkdir(path.dirname(destination), {recursive: true});
702702

703703
const resp = (await file.download(
704-
passThroughOptionsCopy
704+
passThroughOptionsCopy,
705705
)) as DownloadResponseWithStatus;
706706

707707
finalResults[i] = {
@@ -719,7 +719,7 @@ export class TransferManager {
719719
errorResp.error = err as Error;
720720
finalResults[i] = errorResp;
721721
}
722-
})
722+
}),
723723
);
724724
}
725725

‎handwritten/storage/system-test/storage.ts‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3005,7 +3005,7 @@ describe('storage', function () {
30053005
});
30063006

30073007
await new Promise(res =>
3008-
setTimeout(res, BUCKET_METADATA_UPDATE_WAIT_TIME)
3008+
setTimeout(res, BUCKET_METADATA_UPDATE_WAIT_TIME),
30093009
);
30103010

30113011
const encryptionKey = crypto.randomBytes(32);
@@ -3019,7 +3019,7 @@ describe('storage', function () {
30193019
assert.strictEqual(err.code, 412);
30203020
assert.ok(err.message.includes(failureMessage));
30213021
return true;
3022-
}
3022+
},
30233023
);
30243024
});
30253025

@@ -3047,7 +3047,7 @@ describe('storage', function () {
30473047
});
30483048

30493049
await new Promise(res =>
3050-
setTimeout(res, BUCKET_METADATA_UPDATE_WAIT_TIME)
3050+
setTimeout(res, BUCKET_METADATA_UPDATE_WAIT_TIME),
30513051
);
30523052

30533053
await bucket.setMetadata({
@@ -3059,19 +3059,19 @@ describe('storage', function () {
30593059
});
30603060

30613061
await new Promise(res =>
3062-
setTimeout(res, BUCKET_METADATA_UPDATE_WAIT_TIME)
3062+
setTimeout(res, BUCKET_METADATA_UPDATE_WAIT_TIME),
30633063
);
30643064

30653065
const [metadata] = await bucket.getMetadata();
30663066
assert.strictEqual(
30673067
metadata.encryption?.defaultKmsKeyName,
3068-
kmsKeyName
3068+
kmsKeyName,
30693069
);
30703070

30713071
assert.strictEqual(
30723072
metadata.encryption?.googleManagedEncryptionEnforcementConfig
30733073
?.restrictionMode,
3074-
'FullyRestricted'
3074+
'FullyRestricted',
30753075
);
30763076
});
30773077
});

0 commit comments

Comments
 (0)